Do not uri encode password for now
This commit is contained in:
parent
c513930e27
commit
579eaf9141
@ -410,7 +410,7 @@ function getConnectionString() {
|
|||||||
port = "5432";
|
port = "5432";
|
||||||
}
|
}
|
||||||
|
|
||||||
url = "postgres://" + user + ":" + encodeURIComponent(pass) + "@" + host + ":" + port + "/" + db + "?sslmode=" + ssl;
|
url = "postgres://" + user + ":" + pass + "@" + host + ":" + port + "/" + db + "?sslmode=" + ssl;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
var local = url.indexOf("localhost") != -1 || url.indexOf("127.0.0.1") != -1;
|
var local = url.indexOf("localhost") != -1 || url.indexOf("127.0.0.1") != -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user