You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
l1ving_youtube-dl/youtube_dl
Jaime Marquínez Ferrándiz e37afbe0b8 [YoutubeDL] urlopen: disable the 'file:' protocol (#8227)
If someone is running youtube-dl on a server to deliver files, the user could input 'file:///some/important/file' and youtube-dl would save that file as a video giving access to sensitive information to the user.
'file:' urls can be filtered, but the user can use an URL to a crafted m3u8 manifest like:

    #EXTM3U
    #EXT-X-MEDIA-SEQUENCE:0
    #EXTINF:10.0
    file:///etc/passwd
    #EXT-X-ENDLIST

With this patch 'file:' URLs raise URLError like for unknown protocols.
9 years ago
..
downloader [downloader/fragment] Move helper data to context dict 9 years ago
extractor [tudou] Add support for Albums and Playlists and extract more metadata 9 years ago
postprocessor [FFmpegPostProcessor] Default of prefer ffmpeg 9 years ago
YoutubeDL.py [YoutubeDL] urlopen: disable the 'file:' protocol (#8227) 9 years ago
__init__.py Using internal opener 9 years ago
__main__.py Use `insert` for all sys.path manipulations 9 years ago
aes.py
cache.py
compat.py Rename compat_urllib_request_Request to sanitized_Request and move to utils 9 years ago
jsinterp.py [jsinterp] Extend function regex (Closes #7900, closes #7901) 9 years ago
options.py [options] Prefer --convert-subs spelling 9 years ago
swfinterp.py Fix typos 9 years ago
update.py Use proper encoding on compat_str construction when necessary 9 years ago
utils.py Revert "fix typos" 9 years ago
version.py release 2016.01.09 9 years ago