couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (JIRA)" <>
Subject [jira] [Closed] (COUCHDB-546) cookie_auth test fails when the client doesn't send cookies
Date Thu, 20 Jun 2013 12:48:21 GMT


Alexander Shorin closed COUCHDB-546.

    Resolution: Fixed

Fixed in [e15698f|;a=commit;h=e15698f743f9b7013afbbba90acd4d45de72ca2b]
> cookie_auth test fails when the client doesn't send cookies
> -----------------------------------------------------------
>                 Key: COUCHDB-546
>                 URL:
>             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:

View raw message