File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
ruby/ql/lib/codeql/ruby/frameworks/http_clients Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ private module TyphoeusDisablesCertificateValidationFlow =
70
70
DataFlow:: Global< TyphoeusDisablesCertificateValidationConfig > ;
71
71
72
72
/** Gets the body from the given `requestNode` representing a Typhoeus request */
73
+ bindingset [ requestNode]
74
+ pragma [ inline_late]
73
75
private DataFlow:: Node getBodyFromRequest ( API:: Node requestNode ) {
74
76
result =
75
77
[
@@ -79,6 +81,8 @@ private DataFlow::Node getBodyFromRequest(API::Node requestNode) {
79
81
}
80
82
81
83
/** Gets the response from the given `requestNode` representing a Typhoeus request */
84
+ bindingset [ requestNode]
85
+ pragma [ inline_late]
82
86
private API:: Node getResponseFromRequest ( API:: Node requestNode ) {
83
87
result =
84
88
[
@@ -92,6 +96,8 @@ private API::Node getResponseFromRequest(API::Node requestNode) {
92
96
}
93
97
94
98
/** Gets the body from the given `responseNode` representing a Typhoeus response */
99
+ bindingset [ responseNode]
100
+ pragma [ inline_late]
95
101
private DataFlow:: Node getBodyFromResponse ( API:: Node responseNode ) {
96
102
result = responseNode .getAMethodCall ( [ "body" , "response_body" ] )
97
103
}
You can’t perform that action at this time.
0 commit comments