You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by nolanlawson <gi...@git.apache.org> on 2017/02/18 21:27:24 UTC

[GitHub] couchdb-fauxton issue #854: don't encode username/pass unless necessary

Github user nolanlawson commented on the issue:

    https://github.com/apache/couchdb-fauxton/pull/854
  
    One thing I was very confused about with this code is that, to replicate to or from local DBs, you don't need to specify the full URL; you can just specify the DB name. E.g.:
    
    ```bash
    curl -X POST http://localhost:6984/_replicator \
      -H 'content-type:application/json' \
      -d '{"_id": "test_replication1", "source": "http://examples.cloudant.com/animaldb", "target": "animaldb", "create_target": true}'
    ```
    
    This works fine; is there any reason to use the full URL for local DBs? It also breaks when you run Fauxton at a different root than the database itself.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---