Hello ,
We’re facing a recurring issue when attaching files whose names contain special characters like “ñ”, accents (á, é, í, ó, ú), or other symbols. When trying to access these files, the system fails to find them because they generate invalid URLs.
We want to implement a validation step before saving the file to ensure that no special characters cause issues.
What method would you recommend for sanitizing file names before storing them? Would it be better to replace special characters with their non-accented versions, remove them completely, or apply specific encoding?
Thanks in advance for your help!
Your Answer