fix(security): add c2sgmbh.de to CSRF production domains

Add missing production domain for cms.c2sgmbh.de to the CSRF
origin validation whitelist.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Martin Porwoll 2026-01-14 17:01:45 +00:00
parent 31d44af0bd
commit 40f66eda35

View file

@ -142,7 +142,7 @@ export function validateOrigin(origin: string | null): { valid: boolean; reason?
}
// Subdomain-Matching für Produktions-Domains
const productionDomains = ['pl.porwoll.tech', 'porwoll.de', 'complexcaresolutions.de', 'gunshin.de']
const productionDomains = ['pl.porwoll.tech', 'c2sgmbh.de', 'porwoll.de', 'complexcaresolutions.de', 'gunshin.de']
for (const domain of productionDomains) {
if (origin.endsWith(domain) && origin.startsWith('https://')) {