Skip to content

Commit b3bb4cb

Browse files
committed
Rename and update qldoc of default safe header splitting source
1 parent b147be6 commit b3bb4cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

java/ql/src/semmle/code/java/security/ResponseSplitting.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ private class ServletHeaderSplittingSink extends HeaderSplittingSink {
4040
}
4141
}
4242

43-
/** Servlet sources considered safe regarding header splitting */
44-
private class ServletSafeHeaderSplittingSource extends SafeHeaderSplittingSource {
45-
ServletSafeHeaderSplittingSource() {
43+
/** Sources of data considered safe to use by header splitting sinks. */
44+
private class DefaultSafeHeaderSplittingSource extends SafeHeaderSplittingSource {
45+
DefaultSafeHeaderSplittingSource() {
4646
this.asExpr().(MethodAccess).getMethod() instanceof HttpServletRequestGetHeaderMethod or
4747
this.asExpr().(MethodAccess).getMethod() instanceof CookieGetNameMethod
4848
}

0 commit comments

Comments
 (0)