mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
Java update UrlPathHelper tests
This commit is contained in:
@@ -2396,45 +2396,6 @@ public class Test {
|
||||
out = instance.getOriginatingContextPath(in);
|
||||
sink(out); // $hasTaintFlow
|
||||
}
|
||||
{
|
||||
// "org.springframework.web.util;UrlPathHelper;false;getOriginatingQueryString;;;Argument[0];ReturnValue;taint;manual"
|
||||
String out = null;
|
||||
HttpServletRequest in = (HttpServletRequest)source();
|
||||
UrlPathHelper instance = null;
|
||||
out = instance.getOriginatingQueryString(in);
|
||||
sink(out); // $hasTaintFlow
|
||||
}
|
||||
{
|
||||
// "org.springframework.web.util;UrlPathHelper;false;getOriginatingRequestUri;;;Argument[0];ReturnValue;taint;manual"
|
||||
String out = null;
|
||||
HttpServletRequest in = (HttpServletRequest)source();
|
||||
UrlPathHelper instance = null;
|
||||
out = instance.getOriginatingRequestUri(in);
|
||||
sink(out); // $hasTaintFlow
|
||||
}
|
||||
{
|
||||
// "org.springframework.web.util;UrlPathHelper;false;getRequestUri;;;Argument[0];ReturnValue;taint;manual"
|
||||
String out = null;
|
||||
HttpServletRequest in = (HttpServletRequest)source();
|
||||
UrlPathHelper instance = null;
|
||||
out = instance.getRequestUri(in);
|
||||
sink(out); // $hasTaintFlow
|
||||
}
|
||||
{
|
||||
// "org.springframework.web.util;UrlPathHelper;false;getResolvedLookupPath;;;Argument[0];ReturnValue;taint;manual"
|
||||
String out = null;
|
||||
ServletRequest in = (ServletRequest)source();
|
||||
out = UrlPathHelper.getResolvedLookupPath(in);
|
||||
sink(out); // $hasTaintFlow
|
||||
}
|
||||
{
|
||||
// "org.springframework.web.util;UrlPathHelper;false;getServletPath;;;Argument[0];ReturnValue;taint;manual"
|
||||
String out = null;
|
||||
HttpServletRequest in = (HttpServletRequest)source();
|
||||
UrlPathHelper instance = null;
|
||||
out = instance.getServletPath(in);
|
||||
sink(out); // $hasTaintFlow
|
||||
}
|
||||
{
|
||||
// "org.springframework.web.util;UrlPathHelper;false;removeSemicolonContent;;;Argument[0];ReturnValue;taint;manual"
|
||||
String out = null;
|
||||
@@ -2443,14 +2404,6 @@ public class Test {
|
||||
out = instance.removeSemicolonContent(in);
|
||||
sink(out); // $hasTaintFlow
|
||||
}
|
||||
{
|
||||
// "org.springframework.web.util;UrlPathHelper;false;resolveAndCacheLookupPath;;;Argument[0];ReturnValue;taint;manual"
|
||||
String out = null;
|
||||
HttpServletRequest in = (HttpServletRequest)source();
|
||||
UrlPathHelper instance = null;
|
||||
out = instance.resolveAndCacheLookupPath(in);
|
||||
sink(out); // $hasTaintFlow
|
||||
}
|
||||
{
|
||||
// "org.springframework.web.util;WebUtils;false;findParameterValue;(Map,String);;MapValue of Argument[0];ReturnValue;value;manual"
|
||||
String out = null;
|
||||
@@ -2605,22 +2558,6 @@ public class Test {
|
||||
out = in.toString();
|
||||
sink(out); // $ hasTaintFlow
|
||||
}
|
||||
{
|
||||
// "org.springframework.web.util;UrlPathHelper;false;getPathWithinApplication;;;Argument[0];ReturnValue;taint;manual"
|
||||
String out = null;
|
||||
HttpServletRequest in = (HttpServletRequest)source();
|
||||
UrlPathHelper instance = null;
|
||||
out = instance.getPathWithinApplication(in);
|
||||
sink(out); // $ hasTaintFlow
|
||||
}
|
||||
{
|
||||
// "org.springframework.web.util;UrlPathHelper;false;getPathWithinServletMapping;;;Argument[0];ReturnValue;taint;manual"
|
||||
String out = null;
|
||||
HttpServletRequest in = (HttpServletRequest)source();
|
||||
UrlPathHelper instance = null;
|
||||
out = instance.getPathWithinServletMapping(in);
|
||||
sink(out); // $ hasTaintFlow
|
||||
}
|
||||
{
|
||||
// "org.springframework.web.util;WebUtils;false;setSessionAttribute;;;Argument[2];Argument[0];taint;manual"
|
||||
HttpServletRequest out = null;
|
||||
|
||||
Reference in New Issue
Block a user