File Upload Escaping/Sanitization


The single file uploader is not escaping/sanitizing special characters. For example, Mac users’ form submissions fail when they have an apostrophe in their pdf filenames. The error received is:

Client Error
Whoops, there was a problem with your request!
Please go back and try a different way or contact us if the problem persists.

This may be a server firewall issue. Nevertheless, what would be the best way to escape characters like apostrophes from the single (and multi) file upload inputs?

GF Version 2.4.17


Hi Chris. I recommend opening a support ticket for this issue:

Also, be sure you are using the latest Gravity Forms. v2.4.20 is out now and 2.4.17 was released in Feb 2020. If you do open a support ticket, the first issue will likely be to update Gravity Forms to the latest. Thank you.