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 0E50519071 for ; Mon, 11 Apr 2016 14:11:26 +0000 (UTC) Received: (qmail 10238 invoked by uid 500); 11 Apr 2016 14:11:25 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 10126 invoked by uid 500); 11 Apr 2016 14:11:25 -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 10088 invoked by uid 99); 11 Apr 2016 14:11:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2016 14:11:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7CD922C1F5D for ; Mon, 11 Apr 2016 14:11:25 +0000 (UTC) Date: Mon, 11 Apr 2016 14:11:25 +0000 (UTC) From: "Brendon (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CXF-6862) Quoted path field in Cookies appears to be ignored by Chrome and Firefox 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/CXF-6862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brendon closed CXF-6862. ------------------------ Resolution: Fixed Fix Version/s: 3.1.7 > Quoted path field in Cookies appears to be ignored by Chrome and Firefox > ------------------------------------------------------------------------ > > Key: CXF-6862 > URL: https://issues.apache.org/jira/browse/CXF-6862 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 3.1.5, 3.1.6 > Reporter: Brendon > Fix For: 3.1.7 > > > I am attempting to update a project from v3.1.4 to v3.1.6 which includes a fix for RFC 2109 compliance (https://issues.apache.org/jira/browse/CXF-6729) but have hit a problem. > The problem is that since 3.1.5, the cookie path field is wrapped in quotations if it has a special character. This quoted path appears to be ignored by Firefox and Chrome (it does work in Safari though). > Example: > Our code base is setting path=/ to specify the root path. > This gets wrapped in quotations in NewCookieHeaderProvider's toString and sent to the browser (Firefox). > Firefox then sees it as ""/"" and ignores it (presumable as "/" is not a valid path). > The cookie is then set on the current path and not the root path. > This was not an issue in 3.1.4 -- This message was sent by Atlassian JIRA (v6.3.4#6332)