Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Ampersand convered to Semicolon in the URL

Quote Reply
Ampersand convered to Semicolon in the URL
I am using two sets of templates and passing also a langauge variable between them (t,lang) which are reserved from the setup; however, many when I click in between, and eventhough the URL works, I get the "&" converted to ";" in the URL.
For example:
I get:
http://www.mydomain.com/...7;t=blue;d=1;lang=en
instead of:
http://www.mydomain.com/...&d=1&lang=en

how can I fix this issue so the url passes only & and not ; ?
thank you
Mark
Quote Reply
Re: [Mark2] Ampersand convered to Semicolon in the URL In reply to
We've been switching to use ; over the years because according to the HTML specifications, an & should be html escaped when used in a page. Without changing the various bits of code everywhere (or writing something to parse the output), you can't do anything to change that.

Adrian