Question:
b' How do you safely encode a URL using JavaScript such that it can be put into a GET string?var myUrl = "http://example.com/index.html?param=1&anotherParam=2";var myOtherUrl = "http://example.com/index.html?url=" + myUrl;I assume that you need to encode the myUrl variable on that second line? '
Solution : https://worcraft-algeria-dz.com/howto/73/Encode-URL-in-JavaScript?/ | Source : https://worcraft-algeria-dz.com/