Skip to content

Commit 2a50195

Browse files
committed
Mark a MISSING test result as suggested in code review
1 parent b69be30 commit 2a50195

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/test/query-tests/security/CWE-643/XPathInjectionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)