<a href="http://www.domain.com/cgi?x=123&y=456">
Good <a href="http://www.domain.com/cgi?x=123&y=456">
All special characters in HREF should be encoded. "&" is a reserved character to begin an page.
Solution:
Replace "&" by "&".
The link points to an external site, can i replace '&' by '&' in the url without fearing uncorrect query string handling on the external site?
All ampersands in an URL which are not followed by a character entity code (I believe that's what they're called) followed by a semicolon are invalid and should be converted to the entity &
The server shouldn't have any problems with handling the URL.
vigge89 wrote:All ampersands in an URL which are not followed by a character entity code (I believe that's what they're called) followed by a semicolon are invalid and should be converted to the entity &
The server shouldn't have any problems with handling the URL.