Skip to content

Commit 136fefb

Browse files
atorralbasmowton
andauthored
Apply suggestions from code review
Co-authored-by: Chris Smowton <[email protected]>
1 parent 877c529 commit 136fefb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/experimental/Security/CWE/CWE-552/UnsafeUrlForward.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ private predicate isDisallowListCheck(MethodAccess ma) {
122122
*/
123123
private class PathMatchGuard extends UnsafeUrlForwardBarrierGuard {
124124
PathMatchGuard() {
125-
isExactStringPathMatch(this) or isStringPathMatch(this) or isFilePathMatch(this)
125+
isExactStringPathMatch(this) or isAllowListCheck(this) or isDisallowListCheck(this)
126126
}
127127

128128
override predicate checks(Expr e, boolean branch) {

0 commit comments

Comments
 (0)