Skip to content

Commit 7310c15

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Java: rename SpringUrlForwardSink
1 parent a002674 commit 7310c15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/ql/lib/semmle/code/java/security/UrlForward.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ private class DefaultUrlForwardSink extends UrlForwardSink {
2323
* An expression appended (perhaps indirectly) to `"forward:"`
2424
* and reachable from a Spring entry point.
2525
*/
26-
private class SpringUrlForwardSink extends UrlForwardSink {
27-
SpringUrlForwardSink() {
26+
private class SpringUrlForwardPrefixSink extends UrlForwardSink {
27+
SpringUrlForwardPrefixSink() {
2828
any(SpringRequestMappingMethod srmm).polyCalls*(this.getEnclosingCallable()) and
2929
this.asExpr() = any(ForwardPrefix fp).getAnAppendedExpression()
3030
}

0 commit comments

Comments
 (0)