-
Notifications
You must be signed in to change notification settings - Fork 325
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
Escape single quotes in validation messages #898
Comments
sdurrenmatt
pushed a commit
to sdurrenmatt/json-schema-validator
that referenced
this issue
Nov 24, 2023
sdurrenmatt
pushed a commit
to sdurrenmatt/json-schema-validator
that referenced
this issue
Nov 24, 2023
sdurrenmatt
added a commit
to sdurrenmatt/json-schema-validator
that referenced
this issue
Nov 24, 2023
sdurrenmatt
added a commit
to sdurrenmatt/json-schema-validator
that referenced
this issue
Nov 24, 2023
sdurrenmatt
added a commit
to sdurrenmatt/json-schema-validator
that referenced
this issue
Nov 24, 2023
stevehu
pushed a commit
that referenced
this issue
Dec 3, 2023
PR is merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Validation messages that contain single quotes are not properly escaped, resulting in missing single quotes and uninterpreted format elements. For example, the French "pattern" validation message {0} ne correspond pas à l'expression régulière {1} with args $.foo and (foo)+ will result in $.foo ne correspond pas à lexpression régulière {1}.
See MessageFormat
The text was updated successfully, but these errors were encountered: