copyparty/tests
ed b2e8bf6e89 selftest dxml on startup:
try to decode some malicious xml on startup; if this succeeds,
then force-disable all xml-based features (primarily WebDAV)

this is paranoid future-proofing against unanticipated changes
in future versions of python, specifically if the importlib or
xml.etree.ET behavior changes in a way that somehow reenables
entity expansion, which (still hypothetically) would probably
be caused by failing to unload the `_elementtree` c-module

no past or present python versions are affected by this change
2025-01-17 06:06:36 +00:00
..
res/idp idp: precise expansion of ${u} (fixes #79); 2024-03-21 20:10:27 +00:00
__init__.py fix write-only volumes + add regression test 2021-04-24 02:48:41 +02:00
ptrav.py make linters happier 2023-11-30 17:33:07 +00:00
run.py make linters happier 2023-11-30 17:33:07 +00:00
test_cp.py tests: improve specificity 2024-12-01 15:36:35 +00:00
test_dedup.py tests: improve specificity 2024-12-01 15:36:35 +00:00
test_dots.py webdav: auth-challenge clients correctly: 2024-11-27 22:07:53 +00:00
test_dxml.py selftest dxml on startup: 2025-01-17 06:06:36 +00:00
test_hooks.py tests: improve specificity 2024-12-01 15:36:35 +00:00
test_httpcli.py webdav: add tests + fix minor edgecases 2024-12-01 14:44:41 +00:00
test_idp.py fix tests on windows 2024-04-25 22:25:38 +00:00
test_metrics.py tests: improve specificity 2024-12-01 15:36:35 +00:00
test_mv.py tests: improve specificity 2024-12-01 15:36:35 +00:00
test_utils.py sqlite and misc optimizations: 2024-09-15 13:18:43 +00:00
test_vfs.py cleanup: strip trailing whitespace 2024-07-26 19:33:56 +00:00
test_webdav.py webdav: add tests + fix minor edgecases 2024-12-01 14:44:41 +00:00
util.py recent-uploads: move rendering to js 2024-12-20 23:52:03 +00:00