We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3bdf89 commit 5d05e4dCopy full SHA for 5d05e4d
java/ql/src/experimental/Security/CWE/CWE-352/JsonpInjectionLib.qll
@@ -21,7 +21,7 @@ abstract class RequestGetMethod extends Method {
21
22
/** Override method of `doGet` of `Servlet` subclass. */
23
private class ServletGetMethod extends RequestGetMethod {
24
- ServletGetMethod() { this instanceof DoGetServletMethod }
+ ServletGetMethod() { isServletRequestMethod(this) and m.getName() = "doGet" }
25
}
26
27
/** The method of SpringController class processing `get` request. */
0 commit comments