mirror of
https://github.com/iptv-org/iptv
synced 2026-11-21 00:24:34 -05:00
Fix percent-encoded proxy credentials
This commit is contained in:
1 parent
76ddc36c6b
commit
4b035b4558
2 files changed
+70
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user