Skip to content

[fix] match route against decoded path on client#2206

Merged
benmccann merged 1 commit into
masterfrom
path-fix
Aug 14, 2021
Merged

[fix] match route against decoded path on client#2206
benmccann merged 1 commit into
masterfrom
path-fix

Conversation

@benmccann

@benmccann benmccann commented Aug 14, 2021

Copy link
Copy Markdown
Member

There were two places the path was being matched against and only one of them got updated. Ideally we'd only match against the path only once on the client just as #2203 is doing on the server, but that might be a bit larger change. I did at least make it so that the path only needs to be decoded once though

Between #2203 which fixed the server-side and this PR:
Fixes #2201
Fixes #2186
Fixes #2205

@benmccann benmccann added bug Something isn't working p0-urgent SvelteKit is broken or vulnerable for most users labels Aug 14, 2021
@changeset-bot

changeset-bot Bot commented Aug 14, 2021

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f27820e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Patch

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

@benmccann benmccann merged commit 930ef8e into master Aug 14, 2021
@benmccann benmccann deleted the path-fix branch August 14, 2021 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working p0-urgent SvelteKit is broken or vulnerable for most users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

/api routes doesn't work !! unicode characters don't work in nested dynamic routes 1.0.0-next.147 breaks conditional [slug] routes

1 participant