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.
This commit is contained in:
Unknown 2018-03-06 22:29:40 +01:00
parent 496575dea0
commit ba8500144b

View File

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