• Resolved frayca

    (@frayca)


    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!

    • This topic was modified 6 years, 1 month ago by frayca.
    • This topic was modified 6 years, 1 month ago by frayca. Reason: The forum converts the ampersand code I provide as well. It's not very helpful like that

The topic ‘Ampersand problem’ is closed to new replies.