mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Apply review suggestion
Co-authored-by: Michael Nebel <michaelnebel@github.com>
This commit is contained in:
@@ -92,7 +92,7 @@ private predicate physicalRouteMatches(string route, string actual) {
|
||||
route = actual
|
||||
or
|
||||
route.charAt(0) = "~" and
|
||||
exists(string dir | actual = dir + route.substring(1, route.length()) + ".cs")
|
||||
exists(string dir | actual = dir + route.suffix(1) + ".cs")
|
||||
}
|
||||
|
||||
/** An expression that indicates that some authorization/authentication check is being performed. */
|
||||
|
||||
Reference in New Issue
Block a user