2 min read
A Content Security Policy for a mostly static Next.js site
Nonces are the textbook answer for inline scripts, and they don't fit pre-rendered pages. What this site's policy allows, what it still blocks, and the bug it surfaced on the way.
Short write-ups and news from the WordPress, PHP and web world. What changed, why it matters, and what I'd do about it.
Nonces are the textbook answer for inline scripts, and they don't fit pre-rendered pages. What this site's policy allows, what it still blocks, and the bug it surfaced on the way.
App, database, file storage and a cron job, all moved to one platform in two days. What changed on the way, and what I'd do the same way again.
Rate limiting by IP sounds simple until you ask where the IP comes from. Why the first X-Forwarded-For entry is whatever the client wants it to be.
A CVSS 10 in React Server Components, public exploits a day later, and two rounds of follow-up fixes. What happened, and which versions you actually need now.
paschi.dev/notes/feed.xml