[MacRuby-devel] [MacRuby] #462: Net::HTTP Gives "Insecure Operation" When Using HTTPS
MacRuby
ruby-noreply at macosforge.org
Wed Nov 25 19:01:45 PST 2009
#462: Net::HTTP Gives "Insecure Operation" When Using HTTPS
-------------------------------+--------------------------------------------
Reporter: cwdinfo@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
-------------------------------+--------------------------------------------
Here's the code and the results:
{{{
irb(main):002:0> require 'net/https';require 'uri'
=> false
irb(main):003:0> url = URI.parse('https://myverysecuresite.com')
=> #<URI::HTTPS:0x200298e40 URL:https://myverysecuresite.com>
irb(main):004:0> req = Net::HTTP::Get.new(url.path)
core:in `push:': Insecure operation: -r (SecurityError)
from core:in `gets'
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/462>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list