File tree Expand file tree Collapse file tree
lib/semmle/code/java/frameworks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -398,6 +398,7 @@ class GetServletResourceAsStreamMethod extends Method {
398398 }
399399}
400400
401+ /** The interface `javax.servlet.http.HttpSession` */
401402class HttpServletSession extends RefType {
402403 HttpServletSession ( ) { this .hasQualifiedName ( "javax.servlet.http" , "HttpSession" ) }
403404}
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments