We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4486daa commit 354818bCopy full SHA for 354818b
LearningHub.Nhs.WebUI/Scripts/vuesrc/helpers/fileUpload.ts
@@ -49,7 +49,7 @@ const MAX_FILE_SIZE = 10 * 1000 * 1000 * 1000; // 10GB
49
50
// This list should correspond to the disallowed extensions contained in the FileType table
51
const BLOCKED_FILE_EXTENSIONS = ['.app', '.asp', '.aspx', '.dll', '.dmg', '.exe', '.flv', '.f4v', '.js', '.jsp',
52
- '.php', '.shtm', '.shtml', '.swf','.webm'];
+ '.php', '.shtm', '.shtml', '.swf', '.webm', '.bat', '.cmd', '.vbs', '.msi', '.pif', '.sh', '.tar', '.gz', '.7z', '.rar', '.sys', '.bak', '.iso','.torrent'];
53
54
const IMAGE_FILE_EXTENSIONS = ['.apng', '.avif', '.bmp', '.cur', '.gif', '.ico', '.jfif', '.jpeg', '.jpg', '.pjp',
55
'.pjpeg', '.png', '.psd', '.svg', '.tif', '.tiff', '.webp'];
0 commit comments