Explorar o código

Ban of .com and .ps1 uploads

It seems that COM files can still be run in Windows, and they behave like any other executable.
PS1 files are scripts, so I put them on the list.
Unknown %!s(int64=7) %!d(string=hai) anos
pai
achega
ba8500144b
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      config.sample.js

+ 3 - 1
config.sample.js

@@ -36,9 +36,11 @@ module.exports = {
 	// Add file extensions here which should be blocked
 	blockedExtensions: [
 		'.exe',
+		'.msi',
+		'.com',
 		'.bat',
 		'.cmd',
-		'.msi',
+		'.ps1',
 		'.sh'
 	],