Skip to content

Commit 4f64219

Browse files
committed
update the rule and select clause
1 parent 43f100f commit 4f64219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/ql/src/experimental/CWE-525/WebCacheDeception.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ where
2222
rn.reads(f) and
2323
f.getParameter(0) = hw.getResponseWriter() and
2424
hw.getHeaderName() = "cache-control"
25-
select httpHandleFuncCall.getArgument(0), hw.getResponseWriter()
25+
select "Wildcard Endpoint used on : " + httpHandleFuncCall.getArgument(0), hw.getHeaderName()+ " Header is used"

0 commit comments

Comments
 (0)