Skip to content

Commit 03a43b8

Browse files
committed
Allow MaD sanitizers for java/unvalidated-url-forward
1 parent 9d729d0 commit 03a43b8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

java/ql/lib/semmle/code/java/security/UrlForwardQuery.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ abstract class UrlForwardBarrier extends DataFlow::Node { }
4646

4747
private class PrimitiveBarrier extends UrlForwardBarrier instanceof SimpleTypeSanitizer { }
4848

49+
private class ExternalUrlForwardBarrier extends UrlForwardBarrier {
50+
ExternalUrlForwardBarrier() { barrierNode(this, "url-forward") }
51+
}
52+
4953
/**
5054
* A barrier for values appended to a "redirect:" prefix.
5155
* These results are excluded because they should be handled

0 commit comments

Comments
 (0)