clickhouse
clickhouse copied to clipboard
SpecialChars in user password result in Uri malformed
My user password contain a $ and a %.
When i run my code i get a (node:64064) UnhandledPromiseRejectionWarning: URIError: URI malformed
I simply manualy url-encode the password and it work ... but i think this need to be done by the lib...
Hi, could you please show minimum code example with your case?
simple
const clickhouse = new ClickHouse(
{
url: 'http://xxxxxxx',
port: 8123,
debug: debugLog,
basicAuth: {
username: '%eeeeee%eeeee',
password: '%eeee$eeeeeee',
},
},
);
