couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <>
Subject [jira] Created: (COUCHDB-546) cookie_auth test fails when the client doesn't send cookies
Date Wed, 28 Oct 2009 21:30:59 GMT
cookie_auth test fails when the client doesn't send cookies

                 Key: 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

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.
You can reply to this email to add a comment to the issue online.

View raw message