Details
-
Task
-
Resolution: Won't Do
-
Major - P3
-
None
-
Heroku; package.json is:
{
"name": "SMSyncServer",
"version": "1.0.0",
"description": "SMSyncServer Node.js server",
"engines": {
"node": "5.1.0"
},
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js"
},
"author": "Spastic Muffin, LLC",
"license": "ISC",
"dependencies": {
"body-parser": "^1.14.1",
"express": "^4.13.4",
"fs-extra": "^0.26.2",
"google-auth-library": "^0.9.7",
"googleapis": "^2.1.6",
"mongodb": "^2.0.49",
"multer": "^1.1.0",
"sweet": "^0.1.1",
"sweet.js": "^0.7.4",
"tracer": "^0.8.2"
}
}
*Location*: https://docs.mongodb.org/manual/reference/connection-string/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17
*Screen Resolution*: 1440 x 900
Heroku; package.json is: { "name": "SMSyncServer", "version": "1.0.0", "description": "SMSyncServer Node.js server", "engines": { "node": "5.1.0" }, "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "node index.js" }, "author": "Spastic Muffin, LLC", "license": "ISC", "dependencies": { "body-parser": "^1.14.1", "express": "^4.13.4", "fs-extra": "^0.26.2", "google-auth-library": "^0.9.7", "googleapis": "^2.1.6", "mongodb": "^2.0.49", "multer": "^1.1.0", "sweet": "^0.1.1", "sweet.js": "^0.7.4", "tracer": "^0.8.2" } } *Location*: https://docs.mongodb.org/manual/reference/connection-string/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17 *Screen Resolution*: 1440 x 900
-
0.5
Description
When using the driver to connect with "mongodb://[username:password@]..." there appear to be some constraints on what characters can be present in the username and password. I had some punctuation (excluding ":", but including a period, and parens in the username password and the connect failed. The start failed on Heroku at:
this.auth = decodeURIComponent(auth);