hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Koch <johannes.k...@fit.fraunhofer.de>
Subject Re: URI.resolve() not woring properly?
Date Thu, 28 Feb 2008 12:11:07 GMT
Hi Oleg

Oleg Kalnichevski schrieb:
> Is java.net.URI.resolve(String str) being used anywhere in HttpClient?

Yep, o.a.h..impl.client.DefaultRedirectHandler method getLocationURI.

> If so, what do you suggest we do?

Create a resolve(URI, String) method in o.a.h.client.utils.URLUtils? See 
attached patch.

<http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4708535> suggests:

Specially check for this case in invoking code,
replace "" by "#" and then remove "#" manually later.
(Review ID: 148122)

-- 
Johannes Koch
BIKA Web Compliance Center - Fraunhofer FIT
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628    Fax: +49-2241-142065

Mime
View raw message