Ampersand problem
-
Hi!
I was using your plugin to pass some fields from a form as a query, and all I got was 404. I couldn’t figure out what could be happening until I noticed in forums people having problems with the ampersand character in urls so I modify your wpcf7-redirect-script.js file, changing this line
http_query += element.name + '=' + element.value + '&';to this:
http_query += element.name + '=' + element.value + '&';converting the & character to
&in the url and it worked like a charm!I don’t know if this qualifies as a bug or anything like that, but it could help some other people with the same problem.
Cheers!
The topic ‘Ampersand problem’ is closed to new replies.