On Thu, 2008-01-10 at 15:06 +0100, Johannes Koch wrote: > In method getLocationURI(HttpResponse, HttpContext) of > org.apache.http.impl.client.DefaultRedirectHandler: > > if (uri.getQuery() != null || uri.getFragment() != null) { > try { > redirectURI = new URI( > uri.getScheme(), > null, > uri.getHost(), > uri.getPort(), > uri.getPath(), > null, > null); > } catch (URISyntaxException ex) { > throw new ProtocolException(ex.getMessage(), ex); > } > } > > Why is the new URI created without the query component? >
It is a bug. Could you please put together a patch to fix this? Oleg > A redirect from http://example.org/foo?bar to A redirect from > http://example.org/foo?blah would so result in a CircularRedirectException. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]