Closed
Description
The parseConnectionString function does not work for connection strings containing for example ? as char. This is because we use url.parse()
parseConnectionString: function(str) {
var result = url.parse(str);
result.host = result.hostname;
result.database = result.pathname ? result.pathname.slice(1) : null;
var auth = (result.auth || ':').split(':');
result.user = auth[0];
result.password = auth[1];
return result;
}
Metadata
Metadata
Assignees
Labels
No labels