File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
java/ql/test/query-tests/security/CWE-643 Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ public void handle(HttpServletRequest request) throws Exception {
133133
134134 new DefaultXPath ("/users/user[@name='" + user + "' and @pass='" + pass + "']" ); // $hasXPathInjection
135135 new XPathPattern ("/users/user[@name='" + user + "' and @pass='" + pass + "']" ); // $hasXPathInjection
136- new XPathPattern (new PatternStub (user )); // Jaxen is not modeled yet
136+ new XPathPattern (new PatternStub (user )); // $ MISSING: hasXPathInjection // Jaxen is not modeled yet
137137
138138 DocumentFactory docFactory = DocumentFactory .getInstance ();
139139 docFactory .createPattern ("/users/user[@name='" + user + "' and @pass='" + pass + "']" ); // $hasXPathInjection
You can’t perform that action at this time.
0 commit comments