[core,utils] Implement unsafe file extension mitigation
authordirkf <fieldhouse@gmx.net>
Sun, 30 Jun 2024 17:37:25 +0000 (18:37 +0100)
committerdirkf <fieldhouse@gmx.net>
Tue, 2 Jul 2024 14:38:50 +0000 (15:38 +0100)
commit46521096433aceaa41b4caa845bed22ca6f377ce
tree9863266a93a5f946a5e79365a9234a99ae25c23f
parent3c466186a86a22c3fc050f038c38b76ffa1a2dad
[core,utils] Implement unsafe file extension mitigation
* from https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-79w7-vh3h-8g4, thx grub4k
test/test_utils.py
youtube_dl/YoutubeDL.py
youtube_dl/utils.py