[MacRuby] #1392: FlikrDemo example can create bad URLs
#1392: FlikrDemo example can create bad URLs ------------------------------------+--------------------------------------- Reporter: mcphail_colin@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: Component: MacRuby | Keywords: FlikrDemo ------------------------------------+--------------------------------------- Adding a new Flikr source that includes characters not allowed in an URL (e.g. 'Edinburgh Castle' which contains a space) causes a 'malformed URL' exception. I attach a patched version of FlikrDemoController.rb that uses NSString's stringByAddingPercentEscapesUsingEncoding method to escape illegal characters. -- Ticket URL: <http://www.macruby.org/trac/ticket/1392> MacRuby <http://macruby.org/>
#1392: FlikrDemo example can create bad URLs ------------------------------------+--------------------------------------- Reporter: mcphail_colin@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: minor | Milestone: MacRuby 0.11 Component: MacRuby | Resolution: fixed Keywords: FlikrDemo | ------------------------------------+--------------------------------------- Changes (by watson1978@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.11 Comment: Thank you! I commited your patch in https://github.com/MacRuby/MacRuby/commit/accb3e3ec438c7543bd7df05dbe114d5d4... -- Ticket URL: <http://www.macruby.org/trac/ticket/1392#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby