Commit 2e9ca8bfbf64be8840c13375c731014b5135d396
1 parent
7fc92681
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Revert "Disable ssl verification for feed handler"
This reverts commit 2adb85fc0fb30dfe1c9e430c33c67cf6de0ab229.
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
lib/feed_handler.rb
| @@ -48,7 +48,6 @@ class FeedHandler | @@ -48,7 +48,6 @@ class FeedHandler | ||
| 48 | else | 48 | else |
| 49 | header.merge!(:proxy => ENV['FEED_HTTP_PROXY']) if ENV['FEED_HTTP_PROXY'] | 49 | header.merge!(:proxy => ENV['FEED_HTTP_PROXY']) if ENV['FEED_HTTP_PROXY'] |
| 50 | end | 50 | end |
| 51 | - header.merge!(ssl_verify_mode: OpenSSL::SSL::VERIFY_NONE) | ||
| 52 | open(address, header, &block) | 51 | open(address, header, &block) |
| 53 | end | 52 | end |
| 54 | return content | 53 | return content |