• I am using the redirect setting to enable posted data to be sent as a query string to the redirect URL. I have removed all unwanted fields and remapped others. The problem occurs when FSCF attaches an & and a hash tag to the parameters passed like so: /cart/?quantity=1&add-to-cart=953&#FSContact2 where &#FSContact2 is unwanted. Can you tell me how to remove this from the posted data.

    I’m using WooCommerce and adding a virtual product to my cart and it ends up getting added twice because a 301 redirect occurs because the URL is malformed…notice the last & before #FSContact2 has no parameter connected to it.

    BTW, I tried silent send and it presented even more problems. Thanks in advance. I am using the latest version of FSCF.

    https://www.ads-software.com/plugins/si-contact-form/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter smdami

    (@smdami)

    I found out how to remove the variable at the end by reading a previous post, however the URL still has an & at the end which causes the redirect to occur. Thanks for any help you can provide.

    Thread Starter smdami

    (@smdami)

    The orphan ampersand is attached in line 1745 of class-fscf-process.php. I’ve removed it in line 1751 i.e. return substr($query_string, 0, -1). I will leave this issue open in hopes you can resolve this in future updates. Thanks again!

    Hi smdami thank you for reporting this. @mike Challis the developer will investigate further.

    Regards

    I am not in my office now but I will check this as soon as I can

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redirect Post URL malformed’ is closed to new replies.