fix(caddy): stop claiming the front-channel response drops x-frame-options #761
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra!761
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "fix/756-xfo"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Follow-up to #760. Refs #756.
The front-channel logout
handleblock deletedX-Frame-Options, but the site-levelimport security_headers DENYdefers its header block and sets the header again. Staging showedX-Frame-Options: DENYnext toContent-Security-Policy: frame-ancestors https://id.stg.bitborg.seon the200, and the browser sign-out worked: browsers applyframe-ancestorsinstead ofX-Frame-Options.What
Caddyfile.j2: drop the no-op-X-Frame-Options. The block sends only the CSP header.test_frontchannel_logout.sh: drop the assertion that passed only because the fake site's header was not deferred.X-Frame-Options.Checks
sh ansible/roles/caddy/files/test_frontchannel_logout.sh:ok.After merge
--tags caddy. Expect the diff to remove one line in the@forgejo_frontchannel_logouthandle.