Merge pull request #51 from mutantmonkey/blacklist_fixup
add crossdomain.xml to file blacklist
This commit is contained in:
commit
883768f512
11
upload.go
11
upload.go
|
@ -22,11 +22,12 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var fileBlacklist = map[string]bool{
|
var fileBlacklist = map[string]bool{
|
||||||
"favicon.ico": true,
|
"favicon.ico": true,
|
||||||
"index.htm": true,
|
"index.htm": true,
|
||||||
"index.html": true,
|
"index.html": true,
|
||||||
"index.php": true,
|
"index.php": true,
|
||||||
"robots.txt": true,
|
"robots.txt": true,
|
||||||
|
"crossdomain.xml": true,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Describes metadata directly from the user request
|
// Describes metadata directly from the user request
|
||||||
|
|
Loading…
Reference in New Issue