Return-Path: Delivered-To: apmail-jakarta-httpclient-dev-archive@www.apache.org Received: (qmail 67781 invoked from network); 9 Jun 2006 21:26:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jun 2006 21:26:38 -0000 Received: (qmail 33345 invoked by uid 500); 9 Jun 2006 21:26:37 -0000 Delivered-To: apmail-jakarta-httpclient-dev-archive@jakarta.apache.org Received: (qmail 33314 invoked by uid 500); 9 Jun 2006 21:26:37 -0000 Mailing-List: contact httpclient-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "HttpClient Project" Reply-To: "HttpClient Project" Delivered-To: mailing list httpclient-dev@jakarta.apache.org Received: (qmail 33302 invoked by uid 99); 9 Jun 2006 21:26:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jun 2006 14:26:37 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jun 2006 14:26:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 42B117141FA for ; Fri, 9 Jun 2006 21:25:31 +0000 (GMT) Message-ID: <32131539.1149888331269.JavaMail.jira@brutus> Date: Fri, 9 Jun 2006 21:25:31 +0000 (GMT+00:00) From: "Oleg Kalnichevski (JIRA)" To: httpclient-dev@jakarta.apache.org Subject: [jira] Updated: (HTTPCLIENT-494) Invalid redirects are not corrected MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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: httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org