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.

Backslash character in form entry

  1. Chad Ross
    Member

    I'd like to be able to use Gravity Forms for to contain UNC path data such as \\share\directory\filename.ext.

    However, when I submit the data the backslashes are properly written to the database (verified by direct mysql query) but when I go to view the entry the backslashes are gone, displaying sharedirectoryfilename.ext and if I edit the entry and submit the backslashes are now removed from the db entry as well, now leaving sharedirectoryfilename.ext in the database as well.

    Ideas?

    Posted 15 years ago on Monday October 12, 2009 | Permalink
  2. Hey Chad, we are going to look into this and get back with you. Need to reproduce it on our end and then determine why it is happening, etc.

    Posted 15 years ago on Monday October 12, 2009 | Permalink
  3. Chad Ross
    Member

    Thank you. Let me know if you need additional details, login info to my test site, etc.

    Posted 15 years ago on Tuesday October 13, 2009 | Permalink
  4. chadlanchlanross,
    We have identified the problem. It is a bug in Gravity Forms causing slashes to be stripped off when they shouldn't. We are currently working on a fix. I will let you know when it is ready for you to give it a try.

    Posted 15 years ago on Tuesday October 13, 2009 | Permalink
  5. We have released an updated version of Gravity Forms that should take care of this issue. You may update your install using Automatic Upgrade in your WordPress plugins page or by downloading the v1.2.1 release from the Downloads page.

    If you go to your plugins page and it says no updates are available for Gravity Forms, click on the "Installed" link under the "Plugins" page once again to force WordPress to check for updates. It caches this information.

    Posted 15 years ago on Wednesday October 14, 2009 | Permalink
  6. Chad Ross
    Member

    Thanks. Works great!

    Posted 15 years ago on Thursday October 22, 2009 | Permalink
  7. Chad Ross
    Member

    It's back again, same behavior. Data (thank gawd) is correct in the DB, just displays without the backslashes in the admin View entry page.

    GF 1.5.2 WP 3.1.2 PHP 5.2.10 I've performed standard testing, disabled theme, all other plugins. Tested in FF4, IE8, Chrome. Issue still occurs.

    Odd thing is I reverted to GF 1.4.5 and the issue also still occurs, even though I am sure it was working with that version previously.

    Only change recently is updating to WP 3.1.1 to 3.1.2.

    Edit: Rolled back to 3.1.1. No change, \ characters are still gone.

    Ideas?

    Posted 13 years ago on Saturday May 14, 2011 | Permalink
  8. Chad Ross
    Member

    Update again: Turns new entries created after updating to 1.5.2 weren't written to the DB correctly, the backslashes are stripped even when being created, so that's why rolling back to Gravity Forms 1.4.5 didn't seem to alter the behavior.

    I've rolled back to 1.4.5 and manually fixed the entries created after updating to 1.5.2 and things seem fine for now, so it's obviously an issue with GF 1.5.2.

    Posted 13 years ago on Monday May 16, 2011 | Permalink
  9. We have replicated this and will get it patched in the next release which should be out within the next 48 hours.

    Posted 13 years ago on Monday May 16, 2011 | Permalink

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