We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daa0aea commit 64087f8Copy full SHA for 64087f8
packages/kit/src/runtime/client/router.js
@@ -170,7 +170,8 @@ export class Router {
170
if (this.owns(url)) {
171
const path = url.pathname.slice(this.base.length) || '/';
172
173
- const routes = this.routes.filter(([pattern]) => pattern.test(decodeURI(path)));
+ const decoded = decodeURI(path);
174
+ const routes = this.routes.filter(([pattern]) => pattern.test(decoded));
175
176
const query = new URLSearchParams(url.search);
177
const id = `${path}?${query}`;
0 commit comments