We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bf7e59 commit 9e5a80aCopy full SHA for 9e5a80a
go/ql/src/experimental/CWE-525/WebCacheDeception.ql
@@ -22,5 +22,6 @@ where
22
rn.reads(f) and
23
f.getParameter(0) = hw.getResponseWriter() and
24
hw.getHeaderName() = "cache-control"
25
-select "Wildcard Endpoint used with : " + httpHandleFuncCall.getArgument(0),
26
- hw.getHeaderName() + " Header is used"
+select httpHandleFuncCall.getArgument(0),
+ "Wildcard Endpoint used with " + httpHandleFuncCall.getArgument(0) + " and '" + hw.getHeaderName()
27
+ + "' Header is used"
go/ql/test/experimental/CWE-525/WebCacheDeception.expected
@@ -1 +1 @@
1
-| Wildcard Endpoint used with : "/adminusers/" | cache-control Header is used |
+| WebCacheDeceptionBad.go:82:18:82:31 | "/adminusers/" | Wildcard Endpoint used with "/adminusers/" and 'cache-control' Header is used |
0 commit comments