Skip to content

Fix blank pages from cached CORS rejection#1971

Open
philip wants to merge 1 commit into
php:masterfrom
philip:master
Open

Fix blank pages from cached CORS rejection#1971
philip wants to merge 1 commit into
php:masterfrom
philip:master

Conversation

@philip

@philip philip commented Jul 15, 2026

Copy link
Copy Markdown
Member

Addresses issue #1955

Requests with an unrecognized Origin header hit exit(10), which returned an empty 200 with no Cache-Control. The CDN cached that blank page and served it from the affected nodes for 30 days (required manual purge to fix), even to requests sending no Origin at all. Now we skip the CORS headers and serve the page normally.

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