GitHub user nolanlawson opened a pull request:
https://github.com/apache/couchdb-fauxton/pull/854
don't encode username/pass unless necessary
This along with https://github.com/pouchdb/pouchdb-server/pull/170 should
fix https://github.com/pouchdb/express-pouchdb/issues/430.
The goal is just to avoid encoding the username/password if we're in admin
party mode and neither is required. This avoids the `http://null:@localhost`
bug.
Unfortunately this doesn't 100% fix the problem, because it relies on the
URL of fauxton being the same as the URL of the CouchDB itself, which is not
always the case. But it'll at least fix things for pouchdb-server as-is.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nolanlawson/couchdb-fauxton
express-pouchdb-430
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fauxton/pull/854.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #854
----
commit d98cefc2cba10b9d408e70b9ebdb89318c2bad99
Author: Nolan Lawson <[email protected]>
Date: 2017-02-18T16:01:31Z
don't encode username/pass unless necessary
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---