Fix VLC error when HTTPS URL contains square brackets (#187)
This commit is contained in:
parent
d2e965fe54
commit
5cb490f089
@ -144,7 +144,7 @@ class VlcPlayer(BasePlayer):
|
||||
|
||||
def getMRL(self, fileURL):
|
||||
if utils.isURL(fileURL):
|
||||
fileURL = urllib.parse.quote(fileURL, safe="%/:=&?~#+!$,;'@()*[]")
|
||||
fileURL = urllib.parse.quote(fileURL, safe="%/:=&?~#+!$,;'@()*")
|
||||
return fileURL
|
||||
|
||||
fileURL = fileURL.replace('\\', '/')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user