I wanted to send special characters in URI WITHOUT encoding it. Is that possible in Firefox or chrome browser. Example:
http://www.exampple.com/?a=somespecialcharacters>;
Any idea?
Thank you
I wanted to send special characters in URI WITHOUT encoding it. Is that possible in Firefox or chrome browser. Example:
http://www.exampple.com/?a=somespecialcharacters>;
Any idea?
Thank you
The reason certain characters need to be encoded is because they already have a behavior defined for them. If they're not encoded, they'll be intepretted with the default behavior. By encoding them you are essentially hiding them so their default behavior isn't used. That "default behavior" is something that might be triggered by the client or server, and is beyond the scope of the application running in either the client or on the server. You don't have a choice but to encode on the client, and decode on the server.
I'm not saying it's impossible, but it's not a good idea. This is what we call code smell in the business. It breaks convention, and actually in the case of angled brackets it goes against URI syntax.
Angle brackets aren't even reserved, they're disallowed. IE should not allow them, and you should not do something just because IE allows it. In fact, if something only works in IE, IE probably has it implemented incorrectly (according to everyone that is not paid by MS). Here's an in depth analysis of other MS quirky behavior surrounding URIs..
Without encoding: you really don't know what and how the browser interprets it. It's terrible for your users.
Characters as / and & can make the link very aberrant.
Compare:
http://foo.com/this/is/my/parameter vs. http://foo.com/this%2Fis%2Fmy%2Fparameter