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 DA9B7200BEC for ; Thu, 29 Dec 2016 16:33:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D9387160B2D; Thu, 29 Dec 2016 15:33:00 +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 5A731160B41 for ; Thu, 29 Dec 2016 16:33:00 +0100 (CET) Received: (qmail 12479 invoked by uid 500); 29 Dec 2016 15:32: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 12004 invoked by uid 99); 29 Dec 2016 15:32:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Dec 2016 15:32:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 908A62C2A66 for ; Thu, 29 Dec 2016 15:32:58 +0000 (UTC) Date: Thu, 29 Dec 2016 15:32:58 +0000 (UTC) From: "Oleg Kalnichevski (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: Thu, 29 Dec 2016 15:33:01 -0000 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15785528#comment-15785528 ] Oleg Kalnichevski commented on HTTPCLIENT-1006: ----------------------------------------------- bq. It just says that the value might be a >>*cookie-octet<< enclosed by DQs (or not enclosed by DQs). Yes, it does. bq. And if it is, which is a valid value, than this value has to be sent back (4.2.1 / 4.2.2). No, it does not. 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: 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