I have url like below that I am passing in the query string
URL = canada/ontario/shop6
When I access this param that I passed in the query string it discards all the data after first / and gives me just canada as result.
How can I pass the query string with all the / (slashes)?
'URL=canada/ontario/shop6'toencodeURIComponent?%2Fshould be equivalent to/in the query string. If it's not, then your server is not compliant with the HTTP spec.%2back to/bydecodeURIComponent. Let me know why you don't want to encode/decode a slash?