add crossdomain.xml to file blacklist
This commit is contained in:
parent
eeede281a7
commit
874c23087d
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