-
Allow htmx swap styles in CSP
released this
2026-03-31 00:43:53 +00:00 | 8 commits to master since this releaseAdd 'unsafe-hashes' with the htmx swap indicator style hash to the
style-src CSP directive. Without this, htmx swap transitions are
blocked by CSP, which can prevent HX-Redirect from being processed
on the SSO login flow.Security:
- Uses 'unsafe-hashes' (not 'unsafe-inline') so only the specific
htmx style hash is permitted, not arbitrary inline styles
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
Downloads
- Uses 'unsafe-hashes' (not 'unsafe-inline') so only the specific