aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/options.py
diff options
context:
space:
mode:
authorSimon Sawicki <contact@grub4k.xyz>2024-07-02 00:52:50 +0200
committerSimon Sawicki <contact@grub4k.xyz>2024-07-02 00:58:40 +0200
commit5ce582448ececb8d9c30c8c31f58330090ced03a (patch)
tree9efc5c03be85a599c570daed5759d81d7c2eda1d /yt_dlp/options.py
parent6aaf96a3d6e7d0d426e97e11a2fcf52fda00e733 (diff)
[core] Disallow unsafe extensions (CVE-2024-38519)
Ref: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-79w7-vh3h-8g4j Authored by: Grub4K
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r--yt_dlp/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py
index b97c516ce..1b18575c1 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -474,7 +474,7 @@ def create_parser():
'no-attach-info-json', 'embed-thumbnail-atomicparsley', 'no-external-downloader-progress',
'embed-metadata', 'seperate-video-versions', 'no-clean-infojson', 'no-keep-subs', 'no-certifi',
'no-youtube-channel-redirect', 'no-youtube-unavailable-videos', 'no-youtube-prefer-utc-upload-date',
- 'prefer-legacy-http-handler', 'manifest-filesize-approx',
+ 'prefer-legacy-http-handler', 'manifest-filesize-approx', 'allow-unsafe-ext',
}, 'aliases': {
'youtube-dl': ['all', '-multistreams', '-playlist-match-filter', '-manifest-filesize-approx'],
'youtube-dlc': ['all', '-no-youtube-channel-redirect', '-no-live-chat', '-playlist-match-filter', '-manifest-filesize-approx'],