Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 172b8a6

Browse files
committed
Documentation fixes
1 parent b567ec8 commit 172b8a6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

java/ql/lib/semmle/code/java/frameworks/Servlets.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ class GetServletResourceAsStreamMethod extends Method {
398398
}
399399
}
400400

401+
/** The interface `javax.servlet.http.HttpSession` */
401402
class HttpServletSession extends RefType {
402403
HttpServletSession() { this.hasQualifiedName("javax.servlet.http", "HttpSession") }
403404
}

java/ql/src/Security/CWE/CWE-501/TrustBoundaryViolation.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
<p>
3131
In the first (bad) example, the server accepts a parameter from the user and uses it to set the username without validation.
3232
</p>
33-
<sample src="examples/TrustBoundaryVulnerable.java" />
33+
<sample src="TrustBoundaryVulnerable.java" />
3434

3535
<p>
3636
In the second (good) example, the server validates the parameter before using it to set the username.
3737
</p>
38-
<sample src="examples/TrustBoundaryFixed.java" />
38+
<sample src="TrustBoundaryFixed.java" />
3939

4040
</example>
4141

0 commit comments

Comments
 (0)