[utils] Sanitize URL when determining protocol

Closes #1406
This commit is contained in:
pukkandan 2021-10-26 19:31:56 +05:30
parent 7e59ca440a
commit 7de837a5e3
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698
1 changed files with 1 additions and 1 deletions

View File

@ -4731,7 +4731,7 @@ def determine_protocol(info_dict):
if protocol is not None:
return protocol
url = info_dict['url']
url = sanitize_url(info_dict['url'])
if url.startswith('rtmp'):
return 'rtmp'
elif url.startswith('mms'):