Repository navigation
Security hardening
- Adds opt-in controls for
X-Content-Type-Options: nosniff,Referrer-Policy,X-Frame-Options: SAMEORIGIN, and a configurablePermissions-Policy. - Can remove
X-Powered-Byfrom PHP responses. - Preserves existing host and plugin headers.
- Keeps HSTS and Content Security Policy as explicit server/site-specific configuration to avoid breaking subdomains or site functionality.
- Adds PHP 7.4–8.5 regression coverage for header behavior and header-injection protection.
After updating, choose the appropriate controls under Settings → Error-Vault → Security Hardening, purge page caches, and run a new external security scan.