[MacRuby-devel] [MacRuby] #522: URI.parse insecure operation
MacRuby
ruby-noreply at macosforge.org
Tue May 11 18:20:52 PDT 2010
#522: URI.parse insecure operation
-------------------------------------+--------------------------------------
Reporter: mattaimonetti@… | Owner: lsansonetti@…
Type: defect | Status: closed
Priority: major | Milestone: MacRuby 0.7
Component: MacRuby | Resolution: fixed
Keywords: |
-------------------------------------+--------------------------------------
Changes (by lsansonetti@…):
* status: new => closed
* resolution: => fixed
* milestone: MacRuby 0.5 => MacRuby 0.7
Comment:
Seems to be working in trunk, I believe this was fixed in r4019.
{{{
$ cat t2.rb
require 'uri'
url = URI.parse('http://mobile.lemonde.fr/culture/article/2009/12/14
/johnny-halliday-est-sorti-du-coma-
artificiel_1280634_3246.html#xtor=RSS-3208')
p url.path
$ ./miniruby t2.rb
"/culture/article/2009/12/14/johnny-halliday-est-sorti-du-coma-
artificiel_1280634_3246.html"
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/522#comment:1>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list