PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Uploaded filenames being escaped

  1. WPSpecialists
    Member

    When users upload a file with non-alphanumeric characters, escape is added to the filename, which renders the file as broken.

    e.g. User uploads: I'm Broken.mp3
    Filename: I\'m Broken.mp

    Any suggestions on how I can keep this from happening?
    Thank you.

    Posted 7 years ago on Friday January 21, 2011 | Permalink
  2. I received your contact us request on this and have sent it to our lead developer who will look into it. There is nothing you can do currently to prevent this, it's escaping characters because it does this for security reasons before storing it in the database and appears to also be doing this to the filename. We will look at what needs to be changed to resolve this in the next release.

    Posted 7 years ago on Friday January 21, 2011 | Permalink
  3. WPSpecialists
    Member

    Thank you. Much appreciated.

    Posted 7 years ago on Friday January 21, 2011 | Permalink
  4. Has there been any update to this issue? Currently having the same problem with client site and uploading resumes with spaces in the title.

    Posted 5 years ago on Wednesday December 5, 2012 | Permalink
  5. David Peralty
    Administrator

    Tanmccuin - Are you using the latest versions of WordPress and Gravity Forms? It should automatically add %20 instead of a space in file names, to make them work as expected.

    Posted 5 years ago on Wednesday December 5, 2012 | Permalink
  6. Closing this as a duplicate of Tanmccuin's other topic:
    http://www.gravityhelp.com/forums/topic/uploaded-files-with-spaces-in-filename-unable-to-be-retrieved

    Posted 5 years ago on Thursday December 6, 2012 | Permalink

This topic has been resolved and has been closed to new replies.