[ http://issues.apache.org/jira/browse/HTTPCLIENT-494?page=all ]
Oleg Kalnichevski updated HTTPCLIENT-494:
-----------------------------------------
Attachment: invalidredirect.patch
Patch (take 1). Please review
Oleg
> 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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]