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 CD73BC2E3 for ; Thu, 20 Jun 2013 12:48:28 +0000 (UTC) Received: (qmail 78164 invoked by uid 500); 20 Jun 2013 12:48:26 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 77947 invoked by uid 500); 20 Jun 2013 12:48:23 -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 77670 invoked by uid 99); 20 Jun 2013 12:48:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 12:48:21 +0000 Date: Thu, 20 Jun 2013 12:48:21 +0000 (UTC) From: "Alexander Shorin (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (COUCHDB-546) cookie_auth test fails when the client doesn't send cookies 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/COUCHDB-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Shorin closed COUCHDB-546. ------------------------------------ Resolution: Fixed Fixed in [e15698f|https://git-wip-us.apache.org/repos/asf?p=couchdb.git;a=commit;h=e15698f743f9b7013afbbba90acd4d45de72ca2b] > cookie_auth test fails when the client doesn't send cookies > ----------------------------------------------------------- > > Key: COUCHDB-546 > URL: https://issues.apache.org/jira/browse/COUCHDB-546 > Project: CouchDB > Issue Type: Bug > Components: Test Suite > Reporter: Paul Joseph Davis > > I noticed this when working on refactoring couchjs's curl bindings. It doesn't send cookies by default, which means its authenticated no matter what as cookie auth fail falls back to normal auth which isn't setup by the test. > I tried adding an admin to the run_on_modified_server settings but there are quite a few calls that required auth being set so it broke and I left it after adding cookie support to the client. > Note to future self to figure out how to test this. Might need a "don't send cookies" flag to the CouchHTTP XHR object I wrote that would only be set when run from make check as I'm not sure what browsers have in the way of support here. -- 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