Prechádzať zdrojové kódy

File extension bans

`.nt` - turns out there's more Windows batch file extensions.
`.psm1` - PowerScript extension.
`.bash`, `.bsh`, `.csh`, `.bash_profile`, `.bashrc`, `.profile` - apparently those are valid bash script extensions.
`.reg` - overwrites Windows registry keys upon execution.
Shumatsu 6 rokov pred
rodič
commit
df6d5459e0
1 zmenil súbory, kde vykonal 10 pridanie a 1 odobranie
  1. 10 1
      config.sample.js

+ 10 - 1
config.sample.js

@@ -41,9 +41,18 @@ module.exports = {
 		'.com',
 		'.bat',
 		'.cmd',
+		'.nt',
 		'.scr',
 		'.ps1',
-		'.sh'
+		'.psm1',
+		'.sh',
+		'.bash',
+		'.bsh',
+		'.csh',
+		'.bash_profile',
+		'.bashrc',
+		'.profile',
+		'.reg'
 	],
 
 	// Uploads config