From fc53a6dca11ba46317deead9e3d308305c06b6f5 Mon Sep 17 00:00:00 2001 From: lnu Date: Wed, 11 Jan 2006 12:29:53 +0000 Subject: prepared release of 0.6 git-svn-id: svn+ssh://svn.gna.org/svn/feed2imap/trunk/feed2imap@78 f70e237a-67f3-0310-a06c-d2b8a7116972 --- lib/feed2imap/httpfetcher.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/feed2imap/httpfetcher.rb') diff --git a/lib/feed2imap/httpfetcher.rb b/lib/feed2imap/httpfetcher.rb index c72fc32..c7a92c7 100644 --- a/lib/feed2imap/httpfetcher.rb +++ b/lib/feed2imap/httpfetcher.rb @@ -33,7 +33,10 @@ MAXREDIR = 5 class HTTPFetcher def HTTPFetcher::fetcher(baseuri, uri, lastcheck, recursion) http = Net::HTTP::new(uri.host, uri.port) - http.use_ssl = true if uri.scheme == 'https' + if uri.scheme == 'https' + http.use_ssl = true + http.verify_mode = OpenSSL::SSL::VERIFY_NONE + end if defined?(Feed2Imap) useragent = "Feed2Imap v#{Feed2Imap.version} http://home.gna.org/feed2imap/" else -- cgit v1.2.3-70-g09d2