Title: urlencode?
Last modified: July 30, 2019

---

# urlencode?

 *  Resolved [cebln](https://wordpress.org/support/users/cebln/)
 * (@cebln)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/urlencode-2/)
 * Looks like the form field are not properly encoded.
 * So for example a company name “Smith & Co.” corrupts the get variables.
 * Until this is fixed my temporary workaround was to
    change the wpcf7-redirect-
   script.js – line 31: `http_query += element.name + '=' + encodeURIComponent(element.
   value) + '&';`
 * (the “`&`” could be changed to “`& amp;`” too?)
    -  This topic was modified 6 years, 10 months ago by [cebln](https://wordpress.org/support/users/cebln/).
    -  This topic was modified 6 years, 10 months ago by [cebln](https://wordpress.org/support/users/cebln/).
    -  This topic was modified 6 years, 10 months ago by [cebln](https://wordpress.org/support/users/cebln/).
    -  This topic was modified 6 years, 10 months ago by [cebln](https://wordpress.org/support/users/cebln/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Yuval](https://wordpress.org/support/users/yuvalsabar/)
 * (@yuvalsabar)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/urlencode-2/#post-11780924)
 * Hi [@cebln](https://wordpress.org/support/users/cebln/),
 * Thank you for the bug report. Just uploaded a new version with the fix.
 * Yuval.
 *  Thread Starter [cebln](https://wordpress.org/support/users/cebln/)
 * (@cebln)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/urlencode-2/#post-11781588)
 * Cool. Thank you!
 *  Thread Starter [cebln](https://wordpress.org/support/users/cebln/)
 * (@cebln)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/urlencode-2/#post-11811815)
 * The fix had not worked here 100%. We reapplied our workaround instead.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘urlencode?’ is closed to new replies.

 * ![](https://ps.w.org/wpcf7-redirect/assets/icon-256x256.gif?rev=3416723)
 * [Redirection for Contact Form 7](https://wordpress.org/plugins/wpcf7-redirect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpcf7-redirect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpcf7-redirect/)
 * [Active Topics](https://wordpress.org/support/plugin/wpcf7-redirect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpcf7-redirect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpcf7-redirect/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [cebln](https://wordpress.org/support/users/cebln/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/urlencode-2/#post-11811815)
 * Status: resolved