Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 22971 invoked from network); 4 Oct 2010 13:38:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Oct 2010 13:38:58 -0000 Received: (qmail 73075 invoked by uid 500); 4 Oct 2010 13:38:58 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 72722 invoked by uid 500); 4 Oct 2010 13:38:56 -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 72676 invoked by uid 99); 4 Oct 2010 13:38:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 13:38:54 +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; Mon, 04 Oct 2010 13:38:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o94DcXYl024265 for ; Mon, 4 Oct 2010 13:38:34 GMT Message-ID: <17331521.529771286199513744.JavaMail.jira@thor> Date: Mon, 4 Oct 2010 09:38:33 -0400 (EDT) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Subject: [jira] Commented: (HTTPCLIENT-1006) BrowserCompatSpec: don't trim " around cookie value In-Reply-To: <9222090.525831286178334151.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917599#action_12917599 ] Oleg Kalnichevski commented on HTTPCLIENT-1006: ----------------------------------------------- I am not in favour of changing the existing behaviour of BrowserCompatSpec for the reason given previously. I do not see a problem, though, with including a _new_ cookie spec implementation that provides full compatibility with a _particular_ type of version of a _particular_ browser application. Oleg > BrowserCompatSpec: don't trim " around cookie value > --------------------------------------------------- > > Key: HTTPCLIENT-1006 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1006 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpCookie > Affects Versions: 4.0.2 > Reporter: Marc Guillemot > > If the server sends a cookie header like: > Set-Cookie: first="hello world" > then HttpClient parses it as cookie with value >hello world<, wrongly removing the leading and trailing quotes. The incorrect quote removal occurs in BasicHeaderValueParser. -- 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