mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-07 22:31:35 -05:00
feedback
This commit is contained in:
@@ -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, "");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user