cms.c2sgmbh/tests
Martin Porwoll 63b97c14f2 feat(security): enhance CSRF, IP allowlist, and rate limiter with strict production checks
- CSRF: Require CSRF_SECRET in production, throw error on missing secret
- IP Allowlist: TRUST_PROXY must be explicitly set to 'true' for proxy headers
- Rate Limiter: Add proper proxy trust handling for client IP detection
- Login: Add browser form redirect support with safe URL validation
- Add custom admin login page with styled form
- Update CLAUDE.md with TRUST_PROXY documentation
- Update tests for new security behavior

BREAKING: Server will not start in production without CSRF_SECRET or PAYLOAD_SECRET

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 05:06:15 +00:00
..
e2e fix(e2e): handle rate limiting and improve test reliability 2025-12-15 21:25:50 +00:00
helpers revert: downgrade to Next.js 15.5.9 for Payload compatibility 2025-12-15 10:07:39 +00:00
int feat(security): enhance CSRF, IP allowlist, and rate limiter with strict production checks 2025-12-18 05:06:15 +00:00
unit feat(security): enhance CSRF, IP allowlist, and rate limiter with strict production checks 2025-12-18 05:06:15 +00:00