We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 877c529 commit 136fefbCopy full SHA for 136fefb
java/ql/src/experimental/Security/CWE/CWE-552/UnsafeUrlForward.qll
@@ -122,7 +122,7 @@ private predicate isDisallowListCheck(MethodAccess ma) {
122
*/
123
private class PathMatchGuard extends UnsafeUrlForwardBarrierGuard {
124
PathMatchGuard() {
125
- isExactStringPathMatch(this) or isStringPathMatch(this) or isFilePathMatch(this)
+ isExactStringPathMatch(this) or isAllowListCheck(this) or isDisallowListCheck(this)
126
}
127
128
override predicate checks(Expr e, boolean branch) {
0 commit comments