views:

36

answers:

1

So I'm using a basic formmail script. Within the script I'm using a redirect variable. The value of the redirect is something like:

 http://www.mysite.com/NewOLS_GCUK_EN/bling.aspx?BC=GCUK&IBC=CSEE&SIBC=CSEE

When the redirect action happens however, the URL appears in the browser as:

 http://www.mysite.com/NewOLS_GCUK_EN/bling.aspx?BC=GCUK&IBC=CSEE&SIBC=CSEE

You can see the & characters are replaced with &

Is there any way to fix this?

A: 

Maybe you can edit the script with a string substitution:

$myRedirectURL =~ s/\&/\&/g;

Or perhaps look in the script where the opposite substitution is taking place, and comment out that step.

Alex Reynolds