mirror of
https://github.com/iptv-org/iptv.git
synced 2026-11-03 15:12:57 +02:00
Fix percent-encoded proxy credentials
This commit is contained in:
@@ -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