mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Apply suggestions from code review
This commit is contained in:
committed by
GitHub
parent
04c230b128
commit
6ffaa6918a
@@ -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>
|
||||
|
||||
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user