Is there any difference in behaviour of below URL.
I don’t know why the & is inserted, does it make any difference ?
www.testurl.com/test?param1=test&current=true
versus
www.testurl.com/test?param1=test¤t=true
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
&is HTML for “Start of a character reference”.&is the character reference for “An ampersand”.¤t;is not a standard character reference and so is an error (browsers may try to perform error recovery but you should not depend on this).If you used a character reference for a real character (e.g.
™) then it (™) would appear in the URL instead of the string you wanted.(Note that depending on the version of HTML you use, you may have to end a character reference with a
;, which is why&trade=will be treated as ™. HTML 4 allows it to be ommited if the next character is a non-word character (such as=) but some browsers (Hello Internet Explorer) have issues with this).