Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9785013 commit d5b470eCopy full SHA for d5b470e
1 file changed
java/ql/src/Security/CWE/CWE-094/InsecureBeanValidation.qhelp
@@ -14,7 +14,7 @@ untrusted) bean properties flow into the custom error message.</p>
14
<p>There are different approaches to remediate the issue:</p>
15
<ul>
16
<li>Do not include validated bean properties in the custom error message.</li>
17
-<li>Use parameterized messages instead of string concatenation. E.g:
+<li>Use parameterized messages instead of string concatenation. For example:
18
<pre>
19
HibernateConstraintValidatorContext context = constraintValidatorContext.unwrap( HibernateConstraintValidatorContext.class );
20
context.addMessageParameter( "foo", "bar" );
0 commit comments