Ticket #223 (closed defect: fixed)
net/http in macruby 0.3 (ruby 1.9) has fatal bug
| Reported by: | eugene@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | MacRuby 0.4 |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description
This is a ruby 1.9 issue. But the version of the net/http library deployed with macruby 0.3 has a bug in the urlencode function.
Writing simple code like the following throws an exception:
require 'net/http' require 'uri'
res = Net::HTTP.post_form(URI.parse(' http://tweetburner.com/links'),
{'link[url]'=> ARGV[0]})
See the following URL for the fix (and a patch file):
http://redmine.ruby-lang.org/issues/show/472
It's probably fixed in the latest net/http build.
Change History
Note: See
TracTickets for help on using
tickets.

