From: Sean O'Halpin Date: 2009-04-14T07:24:14+09:00 Subject: Re: URI.parse and whitespace characters On Mon, Apr 13, 2009 at 12:34 PM, Marcelo Barbudas wrote: > Thanks for both the answers. > > CGI.escape is my friend:) > > -- > M. > > Just a small point - URI escaping and CGI escaping are similar but not the same. To get URI escaping, require 'uri' and use URI.escape instead of CGI.escape. Regards, Sean