Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 61469 invoked from network); 21 Nov 2007 01:04:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Nov 2007 01:04:08 -0000 Received: (qmail 7318 invoked by uid 500); 21 Nov 2007 01:03:53 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 7274 invoked by uid 500); 21 Nov 2007 01:03:53 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 7263 invoked by uid 99); 21 Nov 2007 01:03:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 17:03:53 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2007 01:04:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3DA39714233 for ; Tue, 20 Nov 2007 17:03:43 -0800 (PST) Message-ID: <33288397.1195607023250.JavaMail.jira@brutus> Date: Tue, 20 Nov 2007 17:03:43 -0800 (PST) From: "Sangjin Lee (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Created: (GERONIMO-3618) when redirected via status code 30x, the original query is incorrectly appended to the location MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org when redirected via status code 30x, the original query is incorrectly appended to the location ----------------------------------------------------------------------------------------------- Key: GERONIMO-3618 URL: https://issues.apache.org/jira/browse/GERONIMO-3618 Project: Geronimo Issue Type: Bug Security Level: public (Regular issues) Components: AsyncHttpClient Affects Versions: 1.x Reporter: Sangjin Lee If you're redirected via status code 30x (302, 301, ...), the code that handles following redirects (HttpIoHandler.messageRecieved()) tries to append the original query from the first request to the URL obtained from the Location header of the response. This is incorrect per HTTP specification. The spec says the value of the Location header is an absoluteURI which is a full URL that includes the proper query if any: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30. The query from the original request should not be part of the second URL. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.