Hello everyone, Our application allows upload and download attachments on a request form and when a user downloads an uploaded file with a pound sign on the filename, the downloaded file’s name gets cutoff before the pound sign. e.g. filename: this is the # filename.txt downloaded filename: this is the As someone who is new to mendix, I am reaching out here to get some help on my following concerns: Is there a way to go around this type of issue or we have to restrict our users from uploading a file with Pound sign on its name? Are there any other special characters that cause the same issue? Thank you in advance!
Kyrie Jericho Cerezo
The # is a special character in the URL, so you can’t use it as part of the filename.
The solution is to run the filename through the urlEncode function. This will convert unsafe characters to ones that are safe to use in a URL.