mirror of
https://github.com/github/codeql.git
synced 2026-04-25 00:35:20 +02:00
Apply suggestions from code review
Co-authored-by: Chris Smowton <smowton@github.com>
This commit is contained in:
@@ -122,7 +122,7 @@ private predicate isDisallowListCheck(MethodAccess ma) {
|
||||
*/
|
||||
private class PathMatchGuard extends UnsafeUrlForwardBarrierGuard {
|
||||
PathMatchGuard() {
|
||||
isExactStringPathMatch(this) or isStringPathMatch(this) or isFilePathMatch(this)
|
||||
isExactStringPathMatch(this) or isAllowListCheck(this) or isDisallowListCheck(this)
|
||||
}
|
||||
|
||||
override predicate checks(Expr e, boolean branch) {
|
||||
|
||||
Reference in New Issue
Block a user