File tree Expand file tree Collapse file tree 7 files changed +15
-9
lines changed
test/library-tests/frameworks Expand file tree Collapse file tree 7 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ private import codeql.ruby.frameworks.ActiveRecord
77private import codeql.ruby.frameworks.ActionView
88private import codeql.ruby.frameworks.StandardLibrary
99private import codeql.ruby.frameworks.Files
10+ private import codeql.ruby.frameworks.HTTPClients
Original file line number Diff line number Diff line change 1+ /**
2+ * Helper file that imports all HTTP clients.
3+ */
4+
5+ private import codeql.ruby.frameworks.http_clients.NetHTTP
File renamed without changes.
Original file line number Diff line number Diff line change 1+ | NetHTTP.rb:4:1:4:18 | call to get | NetHTTP.rb:4:1:4:18 | call to get |
2+ | NetHTTP.rb:6:8:6:50 | call to post | NetHTTP.rb:7:1:7:9 | call to body |
3+ | NetHTTP.rb:6:8:6:50 | call to post | NetHTTP.rb:8:1:8:14 | call to read_body |
4+ | NetHTTP.rb:6:8:6:50 | call to post | NetHTTP.rb:9:1:9:11 | call to entity |
5+ | NetHTTP.rb:13:6:13:17 | call to get | NetHTTP.rb:18:1:18:7 | call to body |
6+ | NetHTTP.rb:14:6:14:18 | call to post | NetHTTP.rb:19:1:19:12 | call to read_body |
7+ | NetHTTP.rb:15:6:15:17 | call to put | NetHTTP.rb:20:1:20:9 | call to entity |
8+ | NetHTTP.rb:24:3:24:33 | call to get | NetHTTP.rb:27:1:27:28 | call to body |
Original file line number Diff line number Diff line change 1- import codeql.ruby.frameworks.stdlib.net.HTTP
1+ import codeql.ruby.frameworks.http_clients.NetHTTP
22import codeql.ruby.DataFlow
33
44query DataFlow:: Node netHTTPRequests ( NetHTTPRequest e ) { result = e .getResponseBody ( ) }
File renamed without changes.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments