Redirect with parameter with special characters

Prevent special characters from being encoded in a redirect URL.

Overview

The issue occurs because CF automatically URL-encodes special characters like '&' and '=' when they are included in a single parameter value.
Instead of placing all parameters in one value, list each parameter separately in the Extra Params box, with each on its own line.

Answered
Jo JohnVosDev 19 Oct, 2015
When I use a Redirect URL with parameters then the special characters are changed.
For instance:
I have a Redirect Url with extra param: option={Redirect}
The content of the variable Redirect = com_jdidealgateway&view=pay&amount=15

The redirect function changes this in: &view is changed in com_jdidealgateway%26view%3Dpay%26amount%3D15

What can I do to prevent that transformation of the special characters '&' and '='?

Thanks for HELP.
Gr GreyHead 19 Oct, 2015
Answer
Hi John,

They are being url-encoded which is normal treatment for special characters in a URL. I think that you can get round it by setting up the parameters separately - so the Extra Params box would look like
option=com_jdidealgateway
view=pay
amount=15

Bob
This topic is locked and no more replies can be posted.