couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosduclos <>
Subject [GitHub] couchdb-nano issue #12: Handle database names with `/` in them
Date Fri, 17 Mar 2017 13:09:18 GMT
GitHub user carlosduclos opened an issue:

    Handle database names with `/` in them

    [Original issue](
    Right now, if I give couchdb-push (which depends on nano) a URL like http://localhost:5984/mail/bigbluehat-com/byoung
it throws the following error:
    TypeError: undefined is not a function
    If I escape them, however, things work as they should: http://localhost:5984/mail%2Fbigbluehat-com%2Fbyoung
    Obviously the escaped version is what CouchDB actually wants, but it'd be nice for the
developer to not have to care that much--or go figure out what's needed from that error.
    Having this as part of the library would save a bunch of URL parsing boilerplate in other
people's code too, fwiw.



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

View raw message