Skip to content

Commit c5a59d6

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Java: add QLDoc
1 parent 7310c15 commit c5a59d6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,11 @@ abstract class UrlForwardBarrier extends DataFlow::Node { }
4141

4242
private class PrimitiveBarrier extends UrlForwardBarrier instanceof SimpleTypeSanitizer { }
4343

44-
// TODO: QLDoc
44+
/** A barrier for URLs appended to a prefix. */
4545
private class FollowsBarrierPrefix extends UrlForwardBarrier {
4646
FollowsBarrierPrefix() { this.asExpr() = any(BarrierPrefix fp).getAnAppendedExpression() }
4747
}
4848

49-
// TODO: QLDoc and fix broadness of this prefix check...
5049
private class BarrierPrefix extends InterestingPrefix {
5150
BarrierPrefix() {
5251
not this.getStringValue().matches("/WEB-INF/%") and

0 commit comments

Comments
 (0)