A basic encoded URL would usually comprise of a "?" and few "&". Can this url be double encoded to eliminate all "?" and all the "&". would it work? Is it right to do it?
Please check a sample encoded url -
http://www.permadi.com/tutorial/urlEncoding/example.html?var=This+is+a+simple+%26+short+test&testmail=the+master.
Use
encodeURIComponent
, it will produce:It should works in all major browsers.