Repository navigation
breaking: add paths.origin, remove prerender.origin - #16161
Conversation
🦋 Changeset detectedLatest commit: 5bf3da2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
commented
Jun 24, 2026
|
Not sure it's possible to have the docs build pass until we switch docs over to |
Resolved conflicts in: - packages/adapter-cloudflare/utils.spec.js: kept upstream's restructured test layout (new _redirects test, _routes.json describe block) and added origin: 'http://localhost' to paths config to satisfy RecursiveRequired - packages/kit/src/core/config/index.spec.js: updated test regexes to use config. instead of config.kit. (upstream added remove_kit_prefix helper) ▲ Created with [Vercel devbox](https://vercel.com/svelte/~/sandboxes/devboxes/qg7oetw8lrj1an64nxppzp9spsoh)
Co-authored-by: Rich Harris <[email protected]>
Co-authored-by: Rich Harris <[email protected]>
|
Install the latest version of pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/5bf3da2b8ac58bfa8187ffabe7a3bf80b95475cfOpen in |
| * `application/json`), so the check is solely on the request method and origin: | ||
| * a non-`GET` request is forbidden when its `Origin` header doesn't match the | ||
| * app's self-origin. Unlike `is_csrf_forbidden`, entries in `trusted_origins` | ||
| * are *not* honoured — remote function endpoints are an implementation detail, |
There was a problem hiding this comment.
appreciate you using the correct spelling of 'honoured'
There was a problem hiding this comment.
personally I hate it but I do have to kiss up to you every once and a while just to keep the manager-developer relationship going
25a4957 to
5bf3da2
Compare
Closes #14791
Removes
prerender.originin favor ofpaths.origin, which also applies to remote function and regular form CSRF checks. This also deprecates theORIGINenvironment variable foradapter-node.