mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
docs: rename ql-training-rst > ql-training
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import java
|
||||
|
||||
class StringConcat extends AddExpr {
|
||||
StringConcat() { getType() instanceof TypeString }
|
||||
}
|
||||
|
||||
from MethodAccess ma
|
||||
where
|
||||
ma.getMethod().getName().matches("sparql%Query") and
|
||||
ma.getArgument(0) instanceof StringConcat
|
||||
select ma, "SPARQL query vulnerable to injection."
|
||||
Reference in New Issue
Block a user