hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HTTPCLIENT-494) Invalid redirects are not corrected
Date Fri, 09 Jun 2006 21:25:31 GMT
     [ http://issues.apache.org/jira/browse/HTTPCLIENT-494?page=all ]

Oleg Kalnichevski updated HTTPCLIENT-494:

    Attachment: invalidredirect.patch

Patch (take 1). Please review


> Invalid redirects are not corrected
> -----------------------------------
>          Key: HTTPCLIENT-494
>          URL: http://issues.apache.org/jira/browse/HTTPCLIENT-494
>      Project: Jakarta HttpClient
>         Type: Bug

>   Components: HttpClient
>     Versions: 2.0.2
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Ted Dunning
>     Assignee: Oleg Kalnichevski
>      Fix For: 3.1 Alpha 1
>  Attachments: invalidredirect.patch, patch.diff, test-36568.diff
> If a get is made to a page with a query argument containing a space, many web
> servers, notably including Tomcat 5 can generate a redirect in which the space
> in the query argument is not escaped correctly.  Most browsers including IE and
> Firefox compensate for this by quoting any included spaces in the redirect
> location.  Http client does not.  When this broken URL is presented to a
> subsequent server, the GET command is interprted incorrectly resulting (usually)
> in a 505.
> The fix is to replace spaces in redirect locations with +'s.  This doesn't
> entirely fix the problem but that is the job of the web server developers.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

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

View raw message