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 07e0bd3 commit 9d96b73Copy full SHA for 9d96b73
ruby/ql/test/query-tests/security/cwe-295/RestClient.rb
@@ -23,11 +23,11 @@
23
# GOOD
24
resource = RestClient::Resource.new("https://example.com", verify_ssl: OpenSSL::SSL::VERIFY_PEER)
25
response = resource.get
26
-# BAD
+# GOOD
27
resource = RestClient::Resource.new("https://example.com", { verify_ssl: OpenSSL::SSL::VERIFY_PEER })
28
29
30
31
options = { verify_ssl: OpenSSL::SSL::VERIFY_PEER }
32
resource = RestClient::Resource.new("https://example.com", options)
33
-response = resource.get
+response = resource.get
0 commit comments