Browse Source

Merge pull request #51 from mutantmonkey/blacklist_fixup

add crossdomain.xml to file blacklist
pull/52/head
Andrei Marcu 9 years ago
parent
commit
883768f512
  1. 11
      upload.go

11
upload.go

@ -22,11 +22,12 @@ import (
) )
var fileBlacklist = map[string]bool{ var fileBlacklist = map[string]bool{
"favicon.ico": true,
"index.htm": true,
"index.html": true,
"index.php": true,
"robots.txt": true,
"favicon.ico": true,
"index.htm": true,
"index.html": true,
"index.php": true,
"robots.txt": true,
"crossdomain.xml": true,
} }
// Describes metadata directly from the user request // Describes metadata directly from the user request

Loading…
Cancel
Save