• v1.9.3 4430ce38a4

    Allow htmx swap styles in CSP

    kyle released this 2026-03-31 00:43:53 +00:00 | 8 commits to master since this release

    Add '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