[Midnightbsd-cvs] [MidnightBSD/mports] adea83: magus: Add global HTTP header middleware wrapper i...
Lucas Holt
noreply at github.com
Sun Jul 19 23:04:29 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: adea83f044a00d94190004d85c19707d079f48ac
https://github.com/MidnightBSD/mports/commit/adea83f044a00d94190004d85c19707d079f48ac
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-07-19 (Sun, 19 Jul 2026)
Changed paths:
M Tools/magus/www/data/magus/index.cgi
Log Message:
-----------
magus: Add global HTTP header middleware wrapper in index.cgi
- Inject X-Content-Type-Options, X-Frame-Options, and X-XSS-Protection security headers into all responses.
- Inject Cache-Control, Pragma, and Expires headers to disable browser caching of dynamic state.
- Automatically enable Access-Control-Allow-Origin: * for public API routes.
AI-Assisted-by: Gemini 3.5 Flash <noreply at google.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list