mirror of
https://github.com/github/codeql.git
synced 2026-03-05 07:06:47 +01:00
Java: update url-redirect sink kind to url-redirection
This commit is contained in:
@@ -276,7 +276,7 @@ module ModelValidation {
|
||||
[
|
||||
"open-url", "jndi-injection", "ldap", "sql-injection", "jdbc-url", "logging", "mvel",
|
||||
"xpath", "groovy", "xss", "ognl-injection", "intent-start", "pending-intent-sent",
|
||||
"url-redirect", "create-file", "read-file", "write-file", "set-hostname-verifier",
|
||||
"url-redirection", "create-file", "read-file", "write-file", "set-hostname-verifier",
|
||||
"header-splitting", "information-leak", "xslt", "jexl", "bean-validation", "ssti",
|
||||
"fragment-injection", "command-injection"
|
||||
] and
|
||||
|
||||
@@ -12,7 +12,7 @@ abstract class UrlRedirectSink extends DataFlow::Node { }
|
||||
|
||||
/** A default sink represeting methods susceptible to URL redirection attacks. */
|
||||
private class DefaultUrlRedirectSink extends UrlRedirectSink {
|
||||
DefaultUrlRedirectSink() { sinkNode(this, "url-redirect") }
|
||||
DefaultUrlRedirectSink() { sinkNode(this, "url-redirection") }
|
||||
}
|
||||
|
||||
/** A Servlet URL redirection sink. */
|
||||
|
||||
Reference in New Issue
Block a user