MBO-Tech-IT-Webseite/app
MBO-Tech-IT 60af2e1621 fix: add IP rate limiting and guard non-string email in flyer route
Adds an in-memory, IP-based fixed-window rate limit (max 3 req/hour)
to app/api/familyguard-flyer/route.ts to mitigate an email-spam/abuse
vector where any client could trigger outbound emails and DB inserts
with no limit. Also guards against a non-string `email` field in the
request body, which previously threw an uncaught TypeError (HTTP 500)
instead of the intended 400 validation response.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LhY1QhDXGWfyhrxaJvfpNt
2026-07-21 14:12:50 +02:00
..
admin fix: add AdminNav, auth and CSS variables to all CMS admin pages 2026-06-02 21:04:11 +02:00
api fix: add IP rate limiting and guard non-string email in flyer route 2026-07-21 14:12:50 +02:00
auth/callback feat: integrate modules 01–03, 06–07 — email, admin auth, analytics, kunden-portal, statistik 2026-04-27 19:41:05 +02:00
datenschutz feat: add SEO improvements — robots.txt, sitemap, Open Graph, JSON-LD schema 2026-05-06 14:20:21 +02:00
impressum chore: initial commit before website expansion 2026-04-02 01:11:27 +02:00
kunden feat: integrate modules 01–03, 06–07 — email, admin auth, analytics, kunden-portal, statistik 2026-04-27 19:41:05 +02:00
pakete feat: embed FlyerDownloadForm on FamilyGuard page 2026-07-21 14:00:51 +02:00
globals.css fix: move dark bg-grid out of utilities layer, add scrollbar hover dark override 2026-04-26 16:39:22 +02:00
layout.tsx feat: remove Kubernetes references site-wide, rework Nextcloud Enterprise tier on Proxmox 2026-07-21 10:45:47 +02:00
page.tsx feat: add MBO FamilyGuard package page and homepage promo 2026-07-10 08:18:29 +02:00
robots.ts feat: add SEO improvements — robots.txt, sitemap, Open Graph, JSON-LD schema 2026-05-06 14:20:21 +02:00
sitemap.ts feat: add SEO improvements — robots.txt, sitemap, Open Graph, JSON-LD schema 2026-05-06 14:20:21 +02:00