Quellcode durchsuchen

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 vor 7 Jahren
Ursprung
Commit
ba8500144b
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  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'
 	],