[utils] Escape URL while sanitizing
authorpukkandan <pukkandan.ytdlp@gmail.com>
Wed, 28 Apr 2021 23:26:09 +0000 (04:56 +0530)
committerdirkf <fieldhouse@gmx.net>
Mon, 6 Jun 2022 15:03:04 +0000 (16:03 +0100)
commit1baa0f5f6678c047624785dc9a3ab3cb44a72809
tree589a38f727b2bbd811c0ada5f05af0bc2cb8b06f
parent9aa8e5340f3d5ece372b983f8e399277ca1f1fe4
[utils] Escape URL while sanitizing
Closes #31008, #yt-dlp/263

While this fixes the issue in question, it does not try to address the root-cause of the problem
Refer: 915f911e365736227e134ad654601443dbfd7ccbf5fa042c82300218a2d07b95dd6b9c0756745db3
youtube_dl/utils.py