Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C1B1C10262 for ; Tue, 18 Jun 2013 14:11:22 +0000 (UTC) Received: (qmail 22145 invoked by uid 500); 18 Jun 2013 14:11:22 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 22085 invoked by uid 500); 18 Jun 2013 14:11:21 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 21794 invoked by uid 99); 18 Jun 2013 14:11:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jun 2013 14:11:20 +0000 Date: Tue, 18 Jun 2013 14:11:20 +0000 (UTC) From: "Pauli Price (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (COUCHDB-1831) Clearing AutoSession cooking doesn't respect domain value, fails to clear domain = '.example.com' values MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Pauli Price created COUCHDB-1831: ------------------------------------ Summary: Clearing AutoSession cooking doesn't respect domain value, fails to clear domain = '.example.com' values Key: COUCHDB-1831 URL: https://issues.apache.org/jira/browse/COUCHDB-1831 Project: CouchDB Issue Type: Bug Reporter: Pauli Price Working on a remote authentication server. Setting AuthSession cookie at the domain level - i.e. couchdb running at db.example.com & auth server running at auth.example.com -- set cookie with domain='.example.com' & visit db.example.com/_utils --- session is logged in. Click 'logout' in futon, user remains logged in. Examine cookies -- two AuthSession cookies exist -- one with domain = 'db.example.com' with blank value, and the original one with domain='.example.com' -- unchanged. Fix is to pass the original cookie's domain value into the set cookie statement that clears the session. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira