Do not uri encode password for now

This commit is contained in:
Dan Sosedoff 2015-04-30 11:51:02 -05:00
parent c513930e27
commit 579eaf9141

View File

@ -410,7 +410,7 @@ function getConnectionString() {
port = "5432";
}
url = "postgres://" + user + ":" + encodeURIComponent(pass) + "@" + host + ":" + port + "/" + db + "?sslmode=" + ssl;
url = "postgres://" + user + ":" + pass + "@" + host + ":" + port + "/" + db + "?sslmode=" + ssl;
}
else {
var local = url.indexOf("localhost") != -1 || url.indexOf("127.0.0.1") != -1;