Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 20651 invoked from network); 13 Jul 2010 20:14:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Jul 2010 20:14:45 -0000 Received: (qmail 49271 invoked by uid 500); 13 Jul 2010 20:14:44 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 49182 invoked by uid 500); 13 Jul 2010 20:14:44 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 49173 invoked by uid 99); 13 Jul 2010 20:14:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jul 2010 20:14:44 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jul 2010 20:14:41 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6DK6oT2025109 for ; Tue, 13 Jul 2010 20:06:50 GMT Message-ID: <20424982.357641279051610127.JavaMail.jira@thor> Date: Tue, 13 Jul 2010 16:06:50 -0400 (EDT) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Subject: [jira] Resolved: (HTTPCORE-229) IOOBE in case of UTF-8 encoded http element(headers) In-Reply-To: <28038683.347431279028691271.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCORE-229?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski resolved HTTPCORE-229. ---------------------------------------- Resolution: Fixed Fixed in SVN trunk and 4.0.x branch. I figured it was cheaper and less disr= uptive for upstream projects to adapt the code to match the javadocs than t= he other way around. Please test / review. Oleg > IOOBE in case of UTF-8 encoded http element(headers) > ---------------------------------------------------- > > Key: HTTPCORE-229 > URL: https://issues.apache.org/jira/browse/HTTPCORE-229 > Project: HttpComponents HttpCore > Issue Type: Bug > Components: HttpCore > Environment: Ubuntu 10.4. java 6 > Reporter: Igor Mikhailuk > Priority: Minor > Fix For: 4.1 > > > When there is the line in the http response header like this: > Location: /=D1=81=D0=BB=D0=BE=D0=B2=D0=BE/ > encoded in UTF-8 AbstractSessionInputBuffer#readLine(final CharArrayBuffe= r charbuffer) return 22(bytes count in this line). > But I beleve it should return 17 (actual chars count). > So. When we are trying to handle such server responce we got IOOBE in Log= gingSessionInputBuffer#readLine(final CharArrayBuffer buffer). --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org