Przeglądaj źródła

ignore .gitignore files in uploads too

Brian Gough 9 lat temu
rodzic
commit
290361dc72

+ 1 - 0
services/web/app/coffee/Features/Uploads/FileTypeManager.coffee

@@ -19,6 +19,7 @@ module.exports = FileTypeManager =
 	IGNORE_FILENAMES : [
 		"__MACOSX"
 		".git"
+		".gitignore"
 	]
 	
 	MAX_TEXT_FILE_SIZE: 1 * 1024 * 1024 # 1 MB