Fix percent-encoded proxy credentials

This commit is contained in:
Shubham Padkonde
2026-10-26 09:44:59 +05:30
parent 76ddc36c6b
commit 4b035b4558
2 changed files with 70 additions and 2 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ export class ProxyParser {
if (parsed.username || parsed.password) {
result.auth = {}
if (parsed.username) result.auth.username = parsed.username
if (parsed.password) result.auth.password = parsed.password
if (parsed.username) result.auth.username = decodeURIComponent(parsed.username)
if (parsed.password) result.auth.password = decodeURIComponent(parsed.password)
}
return result