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.
UnsafeFieldReadSanitizer
1 parent b5fda88 commit 5b07e8cCopy full SHA for 5b07e8c
go/ql/lib/semmle/go/security/SafeUrlFlowCustomizations.qll
@@ -49,7 +49,7 @@ module SafeUrlFlow {
49
UnsafeFieldReadSanitizer() {
50
exists(DataFlow::FieldReadNode frn, string name |
51
name = ["Fragment", "RawQuery", "User"] and
52
- frn.getField().hasQualifiedName("net/url", "URL")
+ frn.getField().hasQualifiedName("net/url", "URL", name)
53
|
54
this = frn.getBase()
55
)
0 commit comments