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