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 0d532d0 commit c9ece38Copy full SHA for c9ece38
go/ql/src/experimental/CWE-918/SSRF.qll
@@ -33,9 +33,9 @@ module ServerSideRequestForgery {
33
34
predicate observeDiffInformedIncrementalMode() { any() }
35
36
- Location getASelectedSourceLocation(DataFlow::Node source) { none() }
37
-
38
Location getASelectedSinkLocation(DataFlow::Node sink) {
+ result = sink.(Sink).getLocation()
+ or
39
result = sink.(Sink).getARequest().getLocation()
40
}
41
0 commit comments