From d31a7b2f60bc2767c0a5bbae56b0e41b08cca2d2 Mon Sep 17 00:00:00 2001 From: "Codex, agent ChatGPT" Date: Thu, 12 Mar 2026 11:33:21 +0100 Subject: [PATCH] Simplify Spamhaus status display --- internal/web/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/web/handler.go b/internal/web/handler.go index d4fc8a9..952ebce 100644 --- a/internal/web/handler.go +++ b/internal/web/handler.go @@ -854,7 +854,7 @@ const ipDetailsHTML = ` rows.push('
Abuse contact: ' + escapeHtml(investigation.registration.abuse_email || '—') + '
'); } if (investigation.reputation) { - const label = investigation.reputation.spamhaus_listed ? ('listed (' + (investigation.reputation.spamhaus_codes || []).join(', ') + ')') : 'not listed'; + const label = investigation.reputation.spamhaus_listed ? 'Yes' : 'No'; rows.push('
Spamhaus: ' + escapeHtml(label) + '
'); if (investigation.reputation.error) { rows.push('
Spamhaus error: ' + escapeHtml(investigation.reputation.error) + '
');