Actions
Bug #2027
closedopen-uri doesn't suport redirections to secure servers
Status:
Closed
Assignee:
-
ruby -v:
ruby 1.8.7 (2008-05-31 patchlevel 0) [x86_64-linux]
Description
=begin
When the server reponse is a redirection to a secure server, open-uri fails raising a runtime exception with this message:
(RuntimeError) redirection forbidden: http://hudson.gotdns.com/latest/hudson.war -> https://hudson.dev.java.net/files/documents/2402/142380/hudson.war
/mirai/SOFT/ruby/1.8.7/lib/ruby/1.8/open-uri.rb:174:in open_loop' /mirai/SOFT/ruby/1.8.7/lib/ruby/1.8/open-uri.rb:132:in
open_uri'
I attach a patch that fixes this issue.
Thanks
=end
Files
Updated by m.carrasco.m (Manuel Carrasco) about 15 years ago
=begin
Please, mark this this ticket as duplicated because there is another one reporting the same issue: #859
=end
Updated by shyouhei (Shyouhei Urabe) about 15 years ago
- Status changed from Open to Closed
=begin
=end
Actions
Like0
Like0Like0