-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
fix(unescape-bug): Fixed bug where intermediate string contains escaped characters #1835
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1835 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 102 102
Lines 2029 2038 +9
Branches 457 460 +3
=========================================
+ Hits 2029 2038 +9
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks! 🎉
…haracters (validatorjs#1835) * Fixed bug where intermediate string contains escaped characters * Added reference to issue Co-authored-by: Markus Tyrkkö <[email protected]> Co-authored-by: Markus <[email protected]>
…haracters (#1835) * Fixed bug where intermediate string contains escaped characters * Added reference to issue Co-authored-by: Markus Tyrkkö <[email protected]> Co-authored-by: Markus <[email protected]>
…haracters (#1835) * Fixed bug where intermediate string contains escaped characters * Added reference to issue Co-authored-by: Markus Tyrkkö <[email protected]> Co-authored-by: Markus <[email protected]>
Fixes: #1827
If the intermediate string contains escape sequences, eg. unescaping
&lt;
resulted in incorrect output<
. Moved & unescape as last operation to handle all other sequences before that.Checklist