Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 7092 invoked from network); 21 Feb 2008 10:57:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2008 10:57:59 -0000 Received: (qmail 31865 invoked by uid 500); 21 Feb 2008 10:57:54 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 31353 invoked by uid 500); 21 Feb 2008 10:57: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 31342 invoked by uid 99); 21 Feb 2008 10:57:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 02:57:52 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 10:57:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 598A3234C040 for ; Thu, 21 Feb 2008 02:57:19 -0800 (PST) Message-ID: <1025983099.1203591439344.JavaMail.jira@brutus> Date: Thu, 21 Feb 2008 02:57:19 -0800 (PST) From: "Rick McGuire (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Resolved: (GERONIMO-3860) HttpResponseDecoder does not handle folded headers properly In-Reply-To: <12103253.1203099488163.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-3860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick McGuire resolved GERONIMO-3860. ------------------------------------ Resolution: Fixed Committed revision 629740. Mina 1.1.5 version Committed revision 629744. Mina 2.0 version > HttpResponseDecoder does not handle folded headers properly > ----------------------------------------------------------- > > Key: GERONIMO-3860 > URL: https://issues.apache.org/jira/browse/GERONIMO-3860 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: AsyncHttpClient > Affects Versions: 1.x > Reporter: Sangjin Lee > Assignee: Rick McGuire > Priority: Minor > Attachments: GERONIMO-3860.patch > > > HttpResponseDecoder makes an assumption that headers complete in a single line ended by CRLF. The HTTP RFC (along with RFC 822) permits a single header spanning multiple lines. Such folding can be detected by detecting the leading LWSP char (either a space or a horizontal tab). > HttpResponseDecoder needs to handle this properly. Currently it throws a ProtocolDecoderException (StringIndexOutOfBoundsException underneath). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.