Skip to content

Commit 655a467

Browse files
committed
Revert "CSP Changes reverted"
This reverts commit 354818b.
1 parent 354818b commit 655a467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LearningHub.Nhs.WebUI/Scripts/vuesrc/helpers/fileUpload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const MAX_FILE_SIZE = 10 * 1000 * 1000 * 1000; // 10GB
4949

5050
// This list should correspond to the disallowed extensions contained in the FileType table
5151
const BLOCKED_FILE_EXTENSIONS = ['.app', '.asp', '.aspx', '.dll', '.dmg', '.exe', '.flv', '.f4v', '.js', '.jsp',
52-
'.php', '.shtm', '.shtml', '.swf', '.webm', '.bat', '.cmd', '.vbs', '.msi', '.pif', '.sh', '.tar', '.gz', '.7z', '.rar', '.sys', '.bak', '.iso','.torrent'];
52+
'.php', '.shtm', '.shtml', '.swf','.webm'];
5353

5454
const IMAGE_FILE_EXTENSIONS = ['.apng', '.avif', '.bmp', '.cur', '.gif', '.ico', '.jfif', '.jpeg', '.jpg', '.pjp',
5555
'.pjpeg', '.png', '.psd', '.svg', '.tif', '.tiff', '.webp'];

0 commit comments

Comments
 (0)