Is there a way around the issue of uploaded filenames being changed if they contain any space, dash or other non alphanumeric characters?
I have a form with a Document(File Name) field that I use to upload a file.
For example if I upload 2025-08-11_23-01-10.png, checking the name in the variable shows this:
/_lib/tmp/sc_04018cb8_2025__SC_MINUS__08__SC_MINUS__11_23__SC_MINUS__01__SC_MINUS__10.png
This causes issue trying to use this file as part of an email attachment.
If I was to rename the file to remove the dash and underscore characters, everything works as expected.