Skip to content
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 error defaultMessage strings due to possibility of user input being present #322

Merged
merged 1 commit into from
Feb 9, 2023
Merged

Escape error defaultMessage strings due to possibility of user input being present #322

merged 1 commit into from
Feb 9, 2023

Conversation

bkoehm
Copy link
Contributor

@bkoehm bkoehm commented Feb 7, 2023

If field validation error codes are unresolved and fallback to the defaultMessage on the error, this defaultMessage must be escaped due to the possibility of user input being in the error message.
Fixes issue #323.

defaultMessage on the error, this defaultMessage must be escaped due to the
possibility of user input being in the error message.
Fixes issue #323.
@sbglasius sbglasius self-requested a review February 9, 2023 09:08
@sbglasius sbglasius merged commit 12f4b51 into gpc:master Feb 9, 2023
@bkoehm bkoehm deleted the err_escaping branch February 17, 2023 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants