mirror of
https://github.com/complexcaresolutions/cms.c2sgmbh.git
synced 2026-03-17 16:14:12 +00:00
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:
parent
31d44af0bd
commit
40f66eda35
1 changed files with 1 additions and 1 deletions
|
|
@ -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://')) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue