Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2C8D718CBE for ; Tue, 12 Jan 2016 14:18:40 +0000 (UTC) Received: (qmail 52348 invoked by uid 500); 12 Jan 2016 14:18:40 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 52289 invoked by uid 500); 12 Jan 2016 14:18:40 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 52271 invoked by uid 99); 12 Jan 2016 14:18:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2016 14:18:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CC1972C1F57 for ; Tue, 12 Jan 2016 14:18:39 +0000 (UTC) Date: Tue, 12 Jan 2016 14:18:39 +0000 (UTC) From: "Neal Hu (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-6729) Version 1 NewCookie is not compliant with RFC 2109 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-6729?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D150939= 33#comment-15093933 ]=20 Neal Hu commented on CXF-6729: ------------------------------ Sergey=EF=BC=8Cthanks for your advice. I will work with Iris to commit the = patch. Neal > Version 1 NewCookie is not compliant with RFC 2109 > --------------------------------------------------- > > Key: CXF-6729 > URL: https://issues.apache.org/jira/browse/CXF-6729 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 3.0.7, 3.1.4 > Environment: Windows > Reporter: Neal Hu > Fix For: 3.1.5, 3.0.8 > > Attachments: NewCookieHeaderProvider.java, NewCookieHeaderProvide= r.patch, NewCookieHeaderProviderTest.java, NewCookieHeaderProviderTest.patc= h, ResponseImplTest.java > > > Hi, > From http://www.ietf.org/rfc/rfc2109.txt and http://stackoverflow.com/que= stions/572482/why-do-cookie-values-with-whitespace-arrive-at-the-client-sid= e-with-quotes > the version 1 cookie look like: name=3D"value with spaces";Max-Age=3D3600= ;Path=3D"/";Version=3D1 > NewCookieHeaderProvider.toString(NewCookie) has not handled the special c= haracters(RFC2068) that need around with quotes -- This message was sent by Atlassian JIRA (v6.3.4#6332)