Click here to Skip to main content
15,920,576 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,
I have a strange behavior in my web app.
Let's say I have this URL which redirect to products page to display items:
http://abc.com/page.aspx?cId=c-017&cname=Remote%20Start%20and%20Security&SubId=RemoteStartNSecurity4&SubName=Remote%20Starters[^]

Sometimes this URL changes to the below one and adding these characters ('A=0 )
http://www.abc.com/page.aspx?cId=c-017&cname=Remote Start and Security&SubId=RemoteStartNSecurity4'A=0&SubName=Remote Starters

And of course get an error from products page.
Does anyone know the reason why the URL is adding these characters or why it's changing?

Thank you
Samira
Posted
Comments
ZurdoDev 28-May-15 8:54am    
Because you have code somewhere doing it. You'll have to debug it to find it.
Sergey Alexandrovich Kryukov 28-May-15 10:31am    
Not enough information. To start, learn URL encoding, if you haven't done it before.
—SA

1 solution

In the second url, just before A=0 there is a single quote. It most likely is preventing encoding of the url completely. I would check out where and why the single quote is added.

Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900