[MacRuby-devel] [MacRuby] #223: net/http in macruby 0.3 (ruby 1.9) has fatal bug

MacRuby ruby-noreply at macosforge.org
Mon Feb 23 02:42:33 PST 2009


#223: net/http in macruby 0.3 (ruby 1.9) has fatal bug
-------------------------------------+--------------------------------------
 Reporter:  eugene@…                 |       Owner:  lsansonetti@…        
     Type:  defect                   |      Status:  new                  
 Priority:  blocker                  |   Milestone:  MacRuby 0.4          
Component:  MacRuby                  |    Keywords:                       
-------------------------------------+--------------------------------------
 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.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/223>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list