Update java/ql/src/experimental/Security/CWE/CWE-552/UnsafeUrlForward.qll

This commit is contained in:
Tony Torralba
2022-09-27 13:26:21 +02:00
committed by GitHub
parent 8effbff817
commit 7ff82bbed3

View File

@@ -205,10 +205,8 @@ private class LoadSpringResourceFlowStep extends SummaryModelCsv {
private class SpringResourceCsvSink extends SinkModelCsv {
override predicate row(string row) {
row =
[
// Get spring resource
"org.springframework.core.io;ClassPathResource;true;" +
["getFilename", "getPath", "getURL", "resolveURL"] + ";;;Argument[-1];get-resource;manual",
]
// Get spring resource
"org.springframework.core.io;ClassPathResource;true;" +
["getFilename", "getPath", "getURL", "resolveURL"] + ";;;Argument[-1];get-resource;manual"
}
}