Skip to content

Commit a0cf8e7

Browse files
author
Alvaro Muñoz
committed
fix SSRF sink
1 parent 7140b95 commit a0cf8e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/ql/lib/semmle/go/frameworks/Twirp.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ module Twirp {
139139
)
140140
}
141141

142-
override DataFlow::Node getARequest() { none() }
142+
override DataFlow::Node getARequest() { result = this }
143143

144144
override string getKind() { result = "URL" }
145145
}

0 commit comments

Comments
 (0)