mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
WIP: XPath Injection promotion
This commit is contained in:
@@ -13,7 +13,13 @@
|
||||
|
||||
package org.dom4j;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface Document {
|
||||
|
||||
public Node selectSingleNode(String xpathExpression);
|
||||
|
||||
public List selectNodes(String xpathExpression);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
31
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Node.java
Normal file
31
java/ql/test/stubs/dom4j-2.1.1/org/dom4j/Node.java
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
|
||||
*
|
||||
* This software is open source.
|
||||
* See the bottom of this file for the licence.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Adapted from DOM4J version 2.1.1 as available at
|
||||
* https://search.maven.org/remotecontent?filepath=org/dom4j/dom4j/2.1.1/dom4j-2.1.1-sources.jar
|
||||
* Only relevant stubs of this file have been retained for test purposes.
|
||||
*/
|
||||
package org.dom4j;
|
||||
|
||||
public interface Node {
|
||||
|
||||
public boolean hasContent();
|
||||
}
|
||||
|
||||
/*
|
||||
* Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
|
||||
*
|
||||
* This software is open source. See the bottom of this file for the licence.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Adapted from DOM4J version 2.1.1 as available at
|
||||
* https://search.maven.org/remotecontent?filepath=org/dom4j/dom4j/2.1.1/dom4j-2
|
||||
* .1.1-sources.jar Only relevant stubs of this file have been retained for test
|
||||
* purposes.
|
||||
*/
|
||||
Reference in New Issue
Block a user