Apply suggestions from code review

This commit is contained in:
Anders Schack-Mulligen
2022-09-06 14:11:48 +02:00
committed by GitHub
parent 04c230b128
commit 6ffaa6918a
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
<qhelp>
<overview>
<p>By default, a "dot" (<code>.</code>) in a regular expression matches all characters except the new line characters <code>\n</code> and
<p>By default, a "dot" (<code>.</code>) in a regular expression matches all characters except the newline characters <code>\n</code> and
<code>\r</code>. Regular expressions containing a dot can be bypassed with the characters <code>\r</code>(<code>%0a</code>) and
<code>\n</code>(<code>%0d</code>) when the default Java regular expression matching implementations are used. This becomes a security issue
if these regular expressions are used to decide whether to grant access to protected application resources.</p>

View File

@@ -19,7 +19,7 @@ private class PermissiveDotStr extends StringLiteral {
}
}
/** Remote flow sources obtained from the URI of a serlvet request. */
/** Remote flow sources obtained from the URI of a servlet request. */
private class GetServletUriSource extends SourceModelCsv {
override predicate row(string row) {
row =