51d39fead1ea71b5fd90e9256d86ae0ef6cd1442
Test / Tests (Python 3.12) (push) Canceled after 0s
WeasyPrint's image loader swallows per-fetch errors and renders a broken image, so a job could report DONE while a remote URL was contacted (SSRF/data egress against the no-data-egress guarantee). Add scan_for_remote() which rejects http(s)/ftp/ws/wss/file resource references up-front (ValueError -> job error) before WeasyPrint ever runs; local data: URIs still render via the default loader. Also add tests/test_review_findings_20260903.py (remote -> job error, valid data: -> job done).
Description
EPUB to PDF converter (WeasyPress engine)
370 KiB
Languages
Python
87.7%
HTML
10.8%
Dockerfile
0.9%
Shell
0.6%