{"action":"created","issue":{"url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/854","repository_url":"https://api.github.com/repos/apache/couchdb-fauxton","labels_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/854/labels{/name}","comments_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/854/comments","events_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/854/events","html_url":"https://github.com/apache/couchdb-fauxton/pull/854","id":208650477,"number":854,"title":"don't encode username/pass unless necessary","user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-18T16:03:13Z","updated_at":"2017-02-20T12:00:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/854","html_url":"https://github.com/apache/couchdb-fauxton/pull/854","diff_url":"https://github.com/apache/couchdb-fauxton/pull/854.diff","patch_url":"https://github.com/apache/couchdb-fauxton/pull/854.patch"},"body":"This along with https://github.com/pouchdb/pouchdb-server/pull/170 should fix https://github.com/pouchdb/express-pouchdb/issues/430.\r\n\r\nThe 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.\r\n\r\nUnfortunately 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."},"comment":{"url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/comments/281061585","html_url":"https://github.com/apache/couchdb-fauxton/pull/854#issuecomment-281061585","issue_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/854","id":281061585,"user":{"login":"garrensmith","id":179458,"avatar_url":"https://avatars.githubusercontent.com/u/179458?v=3","gravatar_id":"","url":"https://api.github.com/users/garrensmith","html_url":"https://github.com/garrensmith","followers_url":"https://api.github.com/users/garrensmith/followers","following_url":"https://api.github.com/users/garrensmith/following{/other_user}","gists_url":"https://api.github.com/users/garrensmith/gists{/gist_id}","starred_url":"https://api.github.com/users/garrensmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garrensmith/subscriptions","organizations_url":"https://api.github.com/users/garrensmith/orgs","repos_url":"https://api.github.com/users/garrensmith/repos","events_url":"https://api.github.com/users/garrensmith/events{/privacy}","received_events_url":"https://api.github.com/users/garrensmith/received_events","type":"User","site_admin":false},"created_at":"2017-02-20T12:00:08Z","updated_at":"2017-02-20T12:00:08Z","body":"One thing, we need full urls because CouchDB 2.0 requires it."}}
{"actor":{"display_login":"garrensmith"}}