Files
nextcloud/php/public
copilot-swe-agent[bot] 3d322e2fe2 Move security headers from Caddyfiles to PHP middleware
- Add SecurityHeadersMiddleware that sets Content-Security-Policy,
  X-Content-Type-Options, X-Frame-Options, X-Permitted-Cross-Domain-Policies,
  X-DNS-Prefetch-Control, Referrer-Policy, and X-Robots-Tag on all responses
- Register SecurityHeadersMiddleware in index.php
- Add click-handlers.js for CSP-compliant event handling (data-confirm,
  data-stop-event-propagation)
- Update toggle-dark-mode.js to attach click handler via addEventListener
- Remove inline onclick from theme toggle button in layout.twig
- Replace all inline onclick with data-confirm in containers.twig,
  community-containers.twig, and optional-containers.twig

Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/d87889ba-d2ad-4d76-b257-2afd725dac28
2026-03-25 11:39:40 +00:00
..
2024-05-16 10:56:17 +02:00
2025-11-04 15:10:41 +01:00
2022-03-30 17:06:01 +02:00
2024-09-16 17:59:15 +02:00
2026-02-17 16:35:01 +01:00
2026-02-25 16:45:41 +01:00
2022-01-01 17:52:03 +01:00
2022-10-16 18:58:59 +02:00
2024-05-16 10:56:17 +02:00