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

Disable message interpolation in ConstraintViolations by default #3209

Merged
merged 1 commit into from Mar 26, 2020

Conversation

joschi
Copy link
Member

@joschi joschi commented Mar 26, 2020

Disable message interpolation in ConstraintViolations by default but allow enabling it explicitly with SelfValidating#escapeExpressions().

Additionally, ConstraintViolations now provides a set of methods which take a map of message parameters for interpolation. The message parameters will be escaped by default.

Refs #3153
Refs #3157
Refs #3208

Disable message interpolation in ConstraintViolations by default but allow enabling it explicitly with `SelfValidating#escapeExpressions()`.

Additionally, `ConstraintViolations` now provides a set of methods which take a map of message parameters for interpolation.
The message parameters will be escaped by default.

Refs #3153
Refs #3157
Refs #3208
@joschi joschi added this to the 1.3.21 milestone Mar 26, 2020
@joschi joschi requested review from pkwarren and a team March 26, 2020 17:19
@joschi joschi self-assigned this Mar 26, 2020
@joschi joschi merged commit 74e2115 into release/1.3.x Mar 26, 2020
@joschi joschi deleted the pr-3208-1.3 branch March 26, 2020 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants