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:27:31 GMT
     [ http://issues.apache.org/jira/browse/HTTPCLIENT-494?page=all ]

Oleg Kalnichevski updated HTTPCLIENT-494:
-----------------------------------------

    Attachment:     (was: test-36568.diff)

> 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
>
> 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


Mime
View raw message