We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
UnsafeFieldReadSanitizer
1 parent 275355e commit d4178ffCopy full SHA for d4178ff
1 file changed
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