Skip to content

Send JSON content-type on theme-management activation request - #9

Merged
kiran-brahma merged 1 commit into
mainfrom
fix/theme-activate-content-type
Aug 14, 2026
Merged

kiran-brahma merged 1 commit into
mainfrom
fix/theme-activate-content-type

Conversation

@kiran-brahma

Copy link
Copy Markdown
Owner

Fixes theme activation failing with HTTP 403 when Cloudflare's cross-site POST protection is enabled.

The theme-management activation request was sent without a Content-Type header, which Cloudflare treats as a cross-site form submission and blocks (403 'Cross-site POST form submissions are forbidden'). Adding Content-Type: application/json bypasses that protection.

Tests: 623 unit pass, typecheck clean.

@kiran-brahma
kiran-brahma marked this pull request as ready for review August 14, 2026 08:39
@kiran-brahma
kiran-brahma merged commit eabaf18 into main Aug 14, 2026
0 of 2 checks passed
@kiran-brahma
kiran-brahma deleted the fix/theme-activate-content-type branch August 14, 2026 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant