I am trying to post data to a URL through HTTP request, when I try to pass email then it converts @ into %252540.
Here is the URL:
window.open('https://secure.rspcdn.com/xprr/red/PID/3428/SID/[email protected]');
Please take a look at the given fiddle:
https://jsfiddle.net/amrindernoor/b8uvwr86/
How can I avoid this issue?
Your URL
https://secure.rspcdn.com/xprr/red/PID/3428/SID/[email protected]
has multiple internal redirects.In each redirect, it encodes the already encoded email.
Here is the brief explanation on what exactly is causing the issue:
Below is the screen shot that will give you a clear picture on this