mirror of
https://github.com/github/codeql.git
synced 2026-05-10 17:29:26 +02:00
Mass-rename MethodAccess -> MethodCall
This commit is contained in:
@@ -20,7 +20,7 @@ deprecated class RequestForgeryConfiguration extends TaintTracking::Configuratio
|
||||
// Exclude results of remote HTTP requests: fetching something else based on that result
|
||||
// is no worse than following a redirect returned by the remote server, and typically
|
||||
// we're requesting a resource via https which we trust to only send us to safe URLs.
|
||||
not source.asExpr().(MethodAccess).getCallee() instanceof UrlConnectionGetInputStreamMethod
|
||||
not source.asExpr().(MethodCall).getCallee() instanceof UrlConnectionGetInputStreamMethod
|
||||
}
|
||||
|
||||
override predicate isSink(DataFlow::Node sink) { sink instanceof RequestForgerySink }
|
||||
@@ -41,7 +41,7 @@ module RequestForgeryConfig implements DataFlow::ConfigSig {
|
||||
// Exclude results of remote HTTP requests: fetching something else based on that result
|
||||
// is no worse than following a redirect returned by the remote server, and typically
|
||||
// we're requesting a resource via https which we trust to only send us to safe URLs.
|
||||
not source.asExpr().(MethodAccess).getCallee() instanceof UrlConnectionGetInputStreamMethod
|
||||
not source.asExpr().(MethodCall).getCallee() instanceof UrlConnectionGetInputStreamMethod
|
||||
}
|
||||
|
||||
predicate isSink(DataFlow::Node sink) { sink instanceof RequestForgerySink }
|
||||
|
||||
Reference in New Issue
Block a user