aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2016-01-21[update] fix (unexploitable) BB'06 vulnerability in rsa_verifyFilippo Valsorda
The rsa_verify code was vulnerable to a BB'06 attack, allowing to forge signatures for arbitrary messages if and only if the public key exponent is 3. Since the updates key is hardcoded to 65537, there is no risk for youtube-dl, but I don't want vulnerable code in the wild. The new function adopts a way safer approach of encoding-and-comparing to replace the dangerous parsing code.
2016-01-14[YoutubeDL] urlopen: disable the 'file:' protocol (#8227)Jaime Marquínez Ferrándiz
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.
2016-01-10Fix typosJakub Wilk
Closes #8200.
2015-12-21[test_subtitles] remove BlipTV testremitamine
2015-12-20[test_utils] Add tests for encode_compat_strSergey M․
2015-12-19[utils] Support alternative timestamp format in TTMLYen Chi Hsuan
Fixes #7608
2015-12-19[utils] Fix TTML conversionYen Chi Hsuan
Tolerate invalid timestamps (closes #7909)
2015-12-14[utils] Add remove_quotesSergey M․
2015-12-08[test/test_all_urls] Update pbs extractor nameJaime Marquínez Ferrándiz
It's in lowercase now (since e15e2ef7a00362fc1e89d9959241efad46325c54).
2015-11-22[utils] Check ext with trailing slash against the list of known extensionsSergey M․
2015-11-22[test_utils] Add tests for determine_extSergey M․
2015-11-16[utils] Skip invalid/non HTML entities (Closes #7518)Sergey M․
2015-11-10[jsinterp] Support alternative function definition formYen Chi Hsuan
2015-11-04[test/subtitles] Add test for DemocracynowIEYen Chi Hsuan
2015-11-02[utils] unified_strdate: Return None if the date format can't be recognized ↵Jaime Marquínez Ferrándiz
(fixes #7340) This issue was introduced with ae12bc3ebb4cb377c2b4337ec255e652b36f5143, it returned 'None'.
2015-10-31Merge pull request #7296 from jaimeMF/xml_attrib_unicodeSergey M
Use a wrapper around xml.etree.ElementTree.fromstring in python 2.x (…
2015-10-31[utils] Support list of xpath in xpath_elementSergey M․
2015-10-28[utils] Improve parse_iso8601Sergey M․
2015-10-26[compat] compat_etree_fromstring: also decode the text attributeJaime Marquínez Ferrándiz
Deletes parse_xml from utils, because it also does it.
2015-10-25[compat] compat_etree_fromstring: only decode bytes objectsJaime Marquínez Ferrándiz
2015-10-25Use a wrapper around xml.etree.ElementTree.fromstring in python 2.x (#7178)Jaime Marquínez Ferrándiz
Attributes aren't unicode objects, so they couldn't be directly used in info_dict fields (for example '--write-description' doesn't work with bytes).
2015-10-23[test/test_download] Use extract_flat = 'in_playlist' for playlist itemsJaime Marquínez Ferrándiz
Some playlist extractors return a 'url' result, which wouldn't be resolved.
2015-10-20[utils:js_to_json] Fix bad escape in double quoted stringsSergey M․
2015-10-18[extractor/common] Allow angle brackets in attributes in _og_regexes (#7215)Sergey M․
2015-10-18[test_youtube_lists] Add test flat playlist entries' titlesSergey M․
2015-10-14[test_InfoExtractor] Add test for unquoted attributeSergey M․
2015-10-14[test_InfoExtractor] Add test for 7a6d76a64d8a89a08bb79791506fc18b993c4580Sergey M․
2015-10-02[test/helper] Fix styleJaime Marquínez Ferrándiz
Use the correct indentation to please flake8
2015-09-30[test/helper] Clarify field for list length mismatchSergey M․
2015-09-30[test/helper] SpellingSergey M․
2015-09-30[test/helper] FormattingSergey M․
2015-09-30[test] use descriptive variable nameQijiang Fan
2015-09-30[test] split expect_dict to two functionsQijiang Fan
2015-09-30[test] recursively check dict and list in expect_info_dictQijiang Fan
This allows to use md5:, re:, etc within the str inside a list or dict.
2015-09-21[youtube:history] Enable exractorSergey M․
2015-09-20[youtube:history] Explain why it has disabled and skip testJaime Marquínez Ferrándiz
2015-09-07[test/test_write_annotations] fix test filenameremitamine
Closes #6781
2015-09-05[test_compat] Fix typoSergey M․
2015-09-05[test_compat] Add test for compat_shlex_splitSergey M․
2015-09-05[test_utils] Add tests for cli option convertersSergey M․
2015-09-05[test_utils] Add more tests for xpathSergey M․
2015-08-21[test/subtitles] Add test for ThePlatformFeedIEYen Chi Hsuan
2015-08-08[test/helper] Make age_limit checkable fieldSergey M․
2015-08-08Merge pull request #6428 from dstftw/improve-generic-smil-supportSergey M.
Improve generic SMIL support
2015-08-04[YoutubeDL] format spec: correctly handle dashes and other unused operatorsJaime Marquínez Ferrándiz
'mp4-baseline-16x9' must be handled as a single string, but the '-' was treated as an operator.
2015-08-03YoutubeDL: format spec: don't accept a bare '/' (#6124)Jaime Marquínez Ferrándiz
2015-08-03Merge remote-tracking branch 'jaimemf/format_spec_groups' (closes #6124)Jaime Marquínez Ferrándiz
2015-08-02[test/helper] Allow dicts for mincountSergey M․
2015-08-02[test_downloader] Respect --force-generic-extractorSergey M․
2015-08-01[utils] Make value optional for find_xpath_attrSergey M․
This allows selecting particular attributes by name but without specifying the value and similar to xpath syntax `[@attrib]`