From 874c23087db28fe7c84ae752615065e7b8118ec8 Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Fri, 9 Oct 2015 00:06:23 -0700 Subject: [PATCH] add crossdomain.xml to file blacklist --- upload.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/upload.go b/upload.go index 50694c3..aaf5f0b 100644 --- a/upload.go +++ b/upload.go @@ -22,11 +22,12 @@ import ( ) 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