Skip to content

Commit ca4c2be

Browse files
authored
add decoding to password of proxy (#61)
1 parent f27ecca commit ca4c2be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/download-uroborosql-fmt-napi.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function autoProxyAgent() {
4242
token:
4343
proxyUrl.username || proxyUrl.password
4444
? `Basic ${Buffer.from(
45-
`${proxyUrl.username}:${proxyUrl.password}`,
45+
`${proxyUrl.username}:${decodeURIComponent(proxyUrl.password)}`,
4646
).toString("base64")}`
4747
: undefined,
4848
});

0 commit comments

Comments
 (0)