From: Dylan Evans Date: 2009-04-13T20:02:21+09:00 Subject: Re: URI.parse and whitespace characters --000e0cd17548e8836704676da5fb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit That's not necessarily a bad url, you just need to encode it properly, i believe %20 is the code for a space. Google gives me this summary; http://www.blooberry.com/indexdot/html/topics/urlencoding.htm On Mon, Apr 13, 2009 at 8:54 PM, Marcelo Barbudas wrote: > Hi, > > I have to parse a lot of bad links like: > http://www.something.com/bad link.jpg > (spaces in them) > > URI.parse fails parsing them and considers them as faulty links. > > However in my case I need it to work. Is there a workaround for this? > > > -- > M. > > -- The UNIX system has a command, nice ... in order to be nice to the other users. Nobody ever uses it." - Andrew S. Tanenbaum --000e0cd17548e8836704676da5fb--