fix: scheme-validate crawler source_url before rendering as a link

Harvested source_url (external content) rendered as an admin <a href> without
scheme validation — a javascript:/data: link would execute on click (audit M2).
safeExternalHref() gates to http(s); CrawlerHistoryTable/DeadJobsTable fall back
to plain text otherwise. Tested in safeHref.test.ts.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
MechaCat02
2026-07-13 21:16:08 +02:00
parent f2c9cfe162
commit 958d5bd713
7 changed files with 71 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "mangalord-frontend",
"version": "0.128.10",
"version": "0.128.11",
"private": true,
"type": "module",
"scripts": {