hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugeny N Dzhurinsky <b...@redwerk.com>
Subject Re: Absolute path is not valid
Date Fri, 30 Jun 2006 08:53:57 GMT
On Fri, Jun 30, 2006 at 10:53:27AM +0200, Roland Weber wrote:
> Hello Eugeny,
> 
> > http://www.curryguidenet.co.uk/restaurants county/london%20south1.htm
> > 
> > As you can see, this URL contains both space and %20, so HTTPClient 
> fails in
> > both cases (if i consider thus URL as escaped or unescaped). Is it 
> possible to
> > do something with that?
> 
> Yes. Encode the space as %20.
> But do not accidentally encode the % from the existing %20!

Okay, but may be there are some additional cases, whether I need to encode
some symbols? I think space is most common case, but who knows, nobody looks
at standards now, since browsers allows even such URLs to be processed.

-- 
Eugene N Dzhurinsky

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message