From 738f9e4b8e294fa7dbf91c726505fa3f849730e7 Mon Sep 17 00:00:00 2001 From: pandeymangg Date: Tue, 9 Sep 2025 16:23:01 +0530 Subject: [PATCH] feedback --- apps/web/modules/storage/utils.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/web/modules/storage/utils.ts b/apps/web/modules/storage/utils.ts index b05846f2cd..37f4825417 100644 --- a/apps/web/modules/storage/utils.ts +++ b/apps/web/modules/storage/utils.ts @@ -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, "");