mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
Fix tests for experimental httponly query
This commit is contained in:
@@ -74,11 +74,12 @@ class MatchesHttpOnlyConfiguration extends TaintTracking2::Configuration {
|
||||
}
|
||||
}
|
||||
|
||||
/** A class descended from `javax.servlet.http.Cookie` or `javax/jakarta.ws.rs.core.Cookie`. */
|
||||
/** A class descended from `javax.servlet.http.Cookie` or `javax/jakarta.ws.rs.core.NewCookie`. */
|
||||
class CookieClass extends RefType {
|
||||
CookieClass() {
|
||||
this.getASupertype*()
|
||||
.hasQualifiedName(["javax.servlet.http", "javax.ws.rs.core", "jakarta.ws.rs.core"], "Cookie")
|
||||
this.getASupertype*().hasQualifiedName("javax.servlet.http", "Cookie")
|
||||
or
|
||||
this.getASupertype*().hasQualifiedName(["javax.ws.rs.core", "jakarta.ws.rs.core"], "NewCookie")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user