You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
context.buildConstraintViolationWithTemplate("My violation message contains a parameter {foo}")
24
+
.addConstraintViolation();</pre>
25
+
<ul>
23
26
<li>Sanitize the validated bean properties to make sure that there are no EL expressions.
24
27
An example of valid sanitization logic can be found <ahref="https://github.com/hibernate/hibernate-validator/blob/master/engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/util/InterpolationHelper.java#L17">here</a>.</li>
25
28
<li>Disable the EL interpolation and only use <code>ParameterMessageInterpolator</code>:
0 commit comments