0bb273a0ed
Python's regex engine performs pathologically on regexes like '<!--.*?-->' when fed a large string of repeating '<!--' clauses. Thanks to JaimeSlome / security@huntr.dev for the report; closes #1380. Solved by switching to the Rust implementation, which does not suffer from this issue. entsToText(), minimizeHTML(), and the old regex constants have been removed; they do not appear to be used by any add-ons. |
||
---|---|---|
.. | ||
anki | ||
rsbridge | ||
tests | ||
tools | ||
.gitignore | ||
.isort.cfg | ||
.pylintrc | ||
BUILD.bazel | ||
mypy.ini | ||
orjson.bzl | ||
protobuf.bzl | ||
README.md |
Anki's Python library code is in anki/.
The Rust/Python extension module is in rsbridge/; it references the library defined in ../rslib.