Docs › Releases › 1.29 › Changelog
Recurnix 1.29 changelog
Every change in 1.29, by kind. For what it means and whether to update, read the release notes.
Fixed
- The Content-Security-Policy shipped in
public/.htaccessdid not permit Cloudflare.script-srcandconnect-srclisted only'self', and there was noframe-srcdirective at all, so it fell back todefault-src 'self'. The result: the Turnstile script was refused,window.turnstilenever existed, and the widget rendered as an empty 302x0 box. No visitor could obtain a token. Because a missing token is refused, enabling Turnstile locked every credential surface - client login, registration, password reset, contact and the admin panel - against everyone, including the operator. Addedhttps://challenges.cloudflare.comtoscript-srcandconnect-src, and added an explicitframe-src 'self' https://challenges.cloudflare.com.
Added
ShippedCspAllowsTurnstileTest: four tests that read the shipped.htaccessand assert the policy permits the Turnstile script, its frame and its callback, and that widening it for Cloudflare did not introduce a wildcard, anhttp://origin, or weakendefault-srcandobject-src.
Upgrade note
- If you are running 1.28 or earlier, do not enable Turnstile until you upgrade. On those versions the widget cannot render and you will be locked out of your own panel. If it has already happened, edit
public/.htaccessand addhttps://challenges.cloudflare.comtoscript-srcandconnect-src, then addframe-src 'self' https://challenges.cloudflare.com;to the same header. The change takes effect on the next request; no restart is needed.
Notes
- The policy is otherwise unchanged and remains deny-by-default. Cloudflare is the only origin added, and only for the three directives the widget needs.