Escape postgres password, GH-96

This commit is contained in:
Dan Sosedoff
2015-08-15 21:11:09 -05:00
parent c02d15ec34
commit 3170fb22cb
3 changed files with 5 additions and 4 deletions

View File

@@ -452,7 +452,7 @@ function getConnectionString() {
var host = $("#pg_host").val();
var port = $("#pg_port").val();
var user = $("#pg_user").val();
var pass = $("#pg_password").val();
var pass = encodeURIComponent($("#pg_password").val());
var db = $("#pg_db").val();
if (port.length == 0) {