Files
breakpilot-compliance/backend-compliance/compliance/api
Benjamin Admin a14e5ad97d fix: Non-DSE doc checks prefer self-extracted text from actual URL
When checking impressum/agb/widerruf, the DSI discovery would follow
links away from the page and return the wrong document (e.g.
/impressum → finds link to /datenschutz → returns datenschutz text).

Now: for non-DSE doc_types, prefer the html_full_page document
(self-extracted from the actual URL the user provided) over linked
pages found by the crawler.

Fixes safetykon.de/impressum returning datenschutz text.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-10 10:24:37 +02:00
..