mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Mark a MISSING test result as suggested in code review
This commit is contained in:
@@ -133,7 +133,7 @@ public class XPathInjectionTest {
|
||||
|
||||
new DefaultXPath("/users/user[@name='" + user + "' and @pass='" + pass + "']"); // $hasXPathInjection
|
||||
new XPathPattern("/users/user[@name='" + user + "' and @pass='" + pass + "']"); // $hasXPathInjection
|
||||
new XPathPattern(new PatternStub(user)); // Jaxen is not modeled yet
|
||||
new XPathPattern(new PatternStub(user)); // $ MISSING: hasXPathInjection // Jaxen is not modeled yet
|
||||
|
||||
DocumentFactory docFactory = DocumentFactory.getInstance();
|
||||
docFactory.createPattern("/users/user[@name='" + user + "' and @pass='" + pass + "']"); // $hasXPathInjection
|
||||
|
||||
Reference in New Issue
Block a user