This commit is contained in:
pandeymangg
2025-09-09 16:23:01 +05:30
parent 81ff63797c
commit 738f9e4b8e
-1
View File
@@ -43,7 +43,6 @@ export const sanitizeFileName = (rawFileName: string): string => {
// Replace path separators/backslashes with dash
name = name.replace(/[\\/]/g, "-");
// Remove control chars and characters problematic in S3 form fields or URLs
// Disallow: # <> : " | ? * ` ' and control whitespace
name = name.replace(/[#<>:"|?*`']/g, "");