Skip to content

Commit 43f100f

Browse files
aydinnyunusowen-mc
andauthored
Update go/ql/src/experimental/CWE-525/WebCacheDeception.ql
Co-authored-by: Owen Mansel-Chan <[email protected]>
1 parent 96646ab commit 43f100f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ from
1717
DeclaredFunction f
1818
where
1919
httpHandleFuncCall.getTarget().hasQualifiedName("net/http", "HandleFunc") and
20-
httpHandleFuncCall.getArgument(0).getType().getUnderlyingType() instanceof StringType and
2120
httpHandleFuncCall.getArgument(0).getStringValue().matches("%/") and
2221
httpHandleFuncCall.getArgument(1) = rn and
2322
rn.reads(f) and

0 commit comments

Comments
 (0)