Pārlūkot izejas kodu

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 7 gadi atpakaļ
vecāks
revīzija
ba8500144b
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  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'
 	],