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 =
7070 DataFlow:: Global< TyphoeusDisablesCertificateValidationConfig > ;
7171
7272/** Gets the body from the given `requestNode` representing a Typhoeus request */
73+ bindingset [ requestNode]
74+ pragma [ inline_late]
7375private DataFlow:: Node getBodyFromRequest ( API:: Node requestNode ) {
7476 result =
7577 [
@@ -79,6 +81,8 @@ private DataFlow::Node getBodyFromRequest(API::Node requestNode) {
7981}
8082
8183/** Gets the response from the given `requestNode` representing a Typhoeus request */
84+ bindingset [ requestNode]
85+ pragma [ inline_late]
8286private API:: Node getResponseFromRequest ( API:: Node requestNode ) {
8387 result =
8488 [
@@ -92,6 +96,8 @@ private API::Node getResponseFromRequest(API::Node requestNode) {
9296}
9397
9498/** Gets the body from the given `responseNode` representing a Typhoeus response */
99+ bindingset [ responseNode]
100+ pragma [ inline_late]
95101private DataFlow:: Node getBodyFromResponse ( API:: Node responseNode ) {
96102 result = responseNode .getAMethodCall ( [ "body" , "response_body" ] )
97103}
You can’t perform that action at this time.
0 commit comments