mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
Java: Convert ServletRequestGetBodyMethod to CSV based flow source
This commit is contained in:
@@ -128,8 +128,11 @@ private predicate sourceModelCsv(string row) {
|
||||
"org.springframework.web.context.request;WebRequest;false;getParameter;;;ReturnValue;remote",
|
||||
"org.springframework.web.context.request;WebRequest;false;getParameterMap;;;ReturnValue;remote",
|
||||
"org.springframework.web.context.request;WebRequest;false;getParameterNames;;;ReturnValue;remote",
|
||||
"org.springframework.web.context.request;WebRequest;false;getParameterValues;;;ReturnValue;remote"
|
||||
"org.springframework.web.context.request;WebRequest;false;getParameterValues;;;ReturnValue;remote",
|
||||
// TODO consider org.springframework.web.context.request.WebRequest.getRemoteUser
|
||||
// ServletRequestGetBodyMethod
|
||||
"javax.servlet;ServletRequest;false;getInputStream;();;ReturnValue;remote",
|
||||
"javax.servlet;ServletRequest;false;getReader;();;ReturnValue;remote"
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
@@ -216,7 +216,6 @@ private class RemoteTaintedMethod extends Method {
|
||||
RemoteTaintedMethod() {
|
||||
this instanceof PlayRequestGetMethod or
|
||||
this instanceof SpringRestTemplateResponseEntityMethod or
|
||||
this instanceof ServletRequestGetBodyMethod or
|
||||
this instanceof CookieGetValueMethod or
|
||||
this instanceof CookieGetNameMethod or
|
||||
this instanceof CookieGetCommentMethod or
|
||||
|
||||
Reference in New Issue
Block a user