forked-synapse/tests/rest/media/v1
reivilibre fa13080618
Merge pull request from GHSA-22p3-qrh9-cx32
* Make _iterate_over_text easier to read by using simple data structures

* Prefer a set of tags to ignore

In my tests, it's 4x faster to check for containment in a set of this size

* Add a stack size limit to _iterate_over_text

* Continue accepting the case where there is no body element

* Use an early return instead for None

Co-authored-by: Richard van der Hoff <richard@matrix.org>
2022-06-28 14:29:08 +01:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_base.py Add type hints to tests/rest (#12146) 2022-03-03 16:05:44 +00:00
test_filepath.py Add type hints to tests/rest (#12146) 2022-03-03 16:05:44 +00:00
test_html_preview.py Merge pull request from GHSA-22p3-qrh9-cx32 2022-06-28 14:29:08 +01:00
test_media_storage.py Add type hints to tests/rest. (#12208) 2022-03-11 12:42:22 +00:00
test_oembed.py Add type hints to tests/rest (#12146) 2022-03-03 16:05:44 +00:00
test_url_preview.py Do not break URL previews if an image is unreachable. (#12950) 2022-06-06 07:46:04 -04:00