-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong usage of JS functions (Appendix: Leveraging Dev Tools - Encoding and Decoding) #1070
Comments
Thanks @ukusormus, feel up for tackling the change(s)?
Let's omit it.
Clarify what it's meant for, and add |
… (#1085) Co-authored-by: Gincy <GincyAG>
What's the issue?
In Appendix: Leveraging Dev Tools > Encoding and Decoding:
Suggesting use of
escape()
andunescape()
JavaScript functions for HTML encoding/decoding, while:Source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/escape
Suggesting use of
encodeURIComponent()
anddecodeURIComponent
for URL encoding/decoding, while:How do we solve it?
encodeURI()
also. See more: When are you supposed to use escape instead of encodeURI / encodeURIComponent? - an answer on Stack OverflowThe text was updated successfully, but these errors were encountered: