Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7BA82200BEF for ; Wed, 4 Jan 2017 09:11:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7A4B7160B39; Wed, 4 Jan 2017 08:11:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EAC23160B44 for ; Wed, 4 Jan 2017 09:11:00 +0100 (CET) Received: (qmail 95000 invoked by uid 500); 4 Jan 2017 08:10:58 -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 94683 invoked by uid 99); 4 Jan 2017 08:10:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2017 08:10:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 78BB92C2A6A for ; Wed, 4 Jan 2017 08:10:58 +0000 (UTC) Date: Wed, 4 Jan 2017 08:10:58 +0000 (UTC) From: "Julian Reschke (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPCLIENT-1006) BrowserCompatSpec: don't trim " around cookie value MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 04 Jan 2017 08:11:01 -0000 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15797539#comment-15797539 ] Julian Reschke commented on HTTPCLIENT-1006: -------------------------------------------- 1) RFCs are known to have bugs or unclear parts. 2) It usually takes years until an RFC is revised. 3) Bugs or unclear parts will not be fixed unless reported. That being said; do I understand you correctly that even if the WG said "Detlev is right in how he reads the spec, and we'll clarify it next time", you'd still refuse to consider this? > 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: HttpClient (classic) > 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 was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org