You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.
What steps will reproduce the problem?
1. encodeForURL doesn't URL encode certain special characters such as * @ - _
+ . /
What is the expected output? What do you see instead?
The above characters should be URL encoded.
What version of the product are you using? On what operating system?
Latest version on Linux.
Please provide any additional information below.
Looks like in DefaultEncoder.js, the encodeForURL/decodeForURL it is calling
escape()/unescape(). It should probably call
encodeURIComponent()/decodeURIComponent() instead.
Original issue reported on code.google.com by [email protected] on 7 Sep 2012 at 5:27
The text was updated successfully, but these errors were encountered:
I had this problem too. so I changed the code in esapi.js to encodeURI and decodeURI as follows:
encodeForURL: function(sInput) {
return !sInput ? null : encodeURI(sInput);
},
Original issue reported on code.google.com by
[email protected]
on 7 Sep 2012 at 5:27The text was updated successfully, but these errors were encountered: