Skip to content

Commit d5fd2db

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Java update UrlPathHelper tests
1 parent ba3548b commit d5fd2db

File tree

1 file changed

+0
-63
lines changed
  • java/ql/test/library-tests/frameworks/spring/webutil

1 file changed

+0
-63
lines changed

java/ql/test/library-tests/frameworks/spring/webutil/Test.java

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -2396,45 +2396,6 @@ public void test() throws Exception {
23962396
out = instance.getOriginatingContextPath(in);
23972397
sink(out); // $hasTaintFlow
23982398
}
2399-
{
2400-
// "org.springframework.web.util;UrlPathHelper;false;getOriginatingQueryString;;;Argument[0];ReturnValue;taint;manual"
2401-
String out = null;
2402-
HttpServletRequest in = (HttpServletRequest)source();
2403-
UrlPathHelper instance = null;
2404-
out = instance.getOriginatingQueryString(in);
2405-
sink(out); // $hasTaintFlow
2406-
}
2407-
{
2408-
// "org.springframework.web.util;UrlPathHelper;false;getOriginatingRequestUri;;;Argument[0];ReturnValue;taint;manual"
2409-
String out = null;
2410-
HttpServletRequest in = (HttpServletRequest)source();
2411-
UrlPathHelper instance = null;
2412-
out = instance.getOriginatingRequestUri(in);
2413-
sink(out); // $hasTaintFlow
2414-
}
2415-
{
2416-
// "org.springframework.web.util;UrlPathHelper;false;getRequestUri;;;Argument[0];ReturnValue;taint;manual"
2417-
String out = null;
2418-
HttpServletRequest in = (HttpServletRequest)source();
2419-
UrlPathHelper instance = null;
2420-
out = instance.getRequestUri(in);
2421-
sink(out); // $hasTaintFlow
2422-
}
2423-
{
2424-
// "org.springframework.web.util;UrlPathHelper;false;getResolvedLookupPath;;;Argument[0];ReturnValue;taint;manual"
2425-
String out = null;
2426-
ServletRequest in = (ServletRequest)source();
2427-
out = UrlPathHelper.getResolvedLookupPath(in);
2428-
sink(out); // $hasTaintFlow
2429-
}
2430-
{
2431-
// "org.springframework.web.util;UrlPathHelper;false;getServletPath;;;Argument[0];ReturnValue;taint;manual"
2432-
String out = null;
2433-
HttpServletRequest in = (HttpServletRequest)source();
2434-
UrlPathHelper instance = null;
2435-
out = instance.getServletPath(in);
2436-
sink(out); // $hasTaintFlow
2437-
}
24382399
{
24392400
// "org.springframework.web.util;UrlPathHelper;false;removeSemicolonContent;;;Argument[0];ReturnValue;taint;manual"
24402401
String out = null;
@@ -2443,14 +2404,6 @@ public void test() throws Exception {
24432404
out = instance.removeSemicolonContent(in);
24442405
sink(out); // $hasTaintFlow
24452406
}
2446-
{
2447-
// "org.springframework.web.util;UrlPathHelper;false;resolveAndCacheLookupPath;;;Argument[0];ReturnValue;taint;manual"
2448-
String out = null;
2449-
HttpServletRequest in = (HttpServletRequest)source();
2450-
UrlPathHelper instance = null;
2451-
out = instance.resolveAndCacheLookupPath(in);
2452-
sink(out); // $hasTaintFlow
2453-
}
24542407
{
24552408
// "org.springframework.web.util;WebUtils;false;findParameterValue;(Map,String);;MapValue of Argument[0];ReturnValue;value;manual"
24562409
String out = null;
@@ -2605,22 +2558,6 @@ public void test() throws Exception {
26052558
out = in.toString();
26062559
sink(out); // $ hasTaintFlow
26072560
}
2608-
{
2609-
// "org.springframework.web.util;UrlPathHelper;false;getPathWithinApplication;;;Argument[0];ReturnValue;taint;manual"
2610-
String out = null;
2611-
HttpServletRequest in = (HttpServletRequest)source();
2612-
UrlPathHelper instance = null;
2613-
out = instance.getPathWithinApplication(in);
2614-
sink(out); // $ hasTaintFlow
2615-
}
2616-
{
2617-
// "org.springframework.web.util;UrlPathHelper;false;getPathWithinServletMapping;;;Argument[0];ReturnValue;taint;manual"
2618-
String out = null;
2619-
HttpServletRequest in = (HttpServletRequest)source();
2620-
UrlPathHelper instance = null;
2621-
out = instance.getPathWithinServletMapping(in);
2622-
sink(out); // $ hasTaintFlow
2623-
}
26242561
{
26252562
// "org.springframework.web.util;WebUtils;false;setSessionAttribute;;;Argument[2];Argument[0];taint;manual"
26262563
HttpServletRequest out = null;

0 commit comments

Comments
 (0)