mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
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 |
||
---|---|---|
.. | ||
res/idp | ||
__init__.py | ||
ptrav.py | ||
run.py | ||
test_cp.py | ||
test_dedup.py | ||
test_dots.py | ||
test_dxml.py | ||
test_hooks.py | ||
test_httpcli.py | ||
test_idp.py | ||
test_metrics.py | ||
test_mv.py | ||
test_utils.py | ||
test_vfs.py | ||
test_webdav.py | ||
util.py |