mikeal / node.couchapp.js

Utility for writing couchapps.
Apache License 2.0
406 stars 78 forks source link

Percent character in password causes lookup error #22

Open brianshumate opened 13 years ago

brianshumate commented 13 years ago

Using node 0.4.7, couchapp 0.8.0, request 2.1.1, and my CouchDB user's password looks something like this: %1AzsSJSx3faaj3 which leads to this error when attempting to push:

couchapp push app.js "http://dhuser:%1AzsSJSx3faaj3@couchdb.example.com:5984/downhill"

/usr/local/lib/node_modules/couchapp/main.js:297
    if (err) throw err;
             ^
Error: ENOTFOUND, Domain name not found
    at IOWatcher.callback (dns.js:74:15)