We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Freeform Forward Slash Problem, and a Quick Solution

Development and Programming

Stephen Lewis's avatar
Stephen Lewis
466 posts
17 years ago
Stephen Lewis's avatar Stephen Lewis

Hello all,

I ran into a curious bug today after moving my site to a new server. The “return” path in the Freeform module was written out using / instead of a forward slash.

I figured this had something to do with the server, but had no idea what, so I knocked together a very quick extension to solve the problem. In case anybody else runs into this problem (or has a similar need to parse certain characters prior to rendering the form), here it is.

Cheers Stephen

       
Jamie Poitra's avatar
Jamie Poitra
409 posts
17 years ago
Jamie Poitra's avatar Jamie Poitra

Monooso,

I’m guessing that this is actually a bug on the part of FreeForm. We recently found a similar bug in our login form code that I just fixed yesterday. Either way, the next build of EE should prevent it from being an issue in the future. But you may want to let Solspace know that he should get those slash entities turned into real slashes when generating the form code in his module.

Jamie

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
17 years ago
Stephen Lewis's avatar Stephen Lewis

Hey Jamie,

I also posted my “solution” to the Solspace forum, only to be informed (very politely) that this bug was fixed in the last release (2.5.9).

You can view my humiliation, along with a handy link to download the latest version of Freeform at http://www.solspace.com/forums/viewthread/434/.

Cheers Stephen

       
Jamie Poitra's avatar
Jamie Poitra
409 posts
17 years ago
Jamie Poitra's avatar Jamie Poitra

Ah, good to know I was right. It happens on occasion. 😊

Jamie

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.