Skip to content

Commit 5659e49

Browse files
URI decode path before matching
1 parent ed6ea50 commit 5659e49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/server/src/api/rest/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,8 @@ class RequestHandler extends APIHandlerBase {
266266
path = '/' + path;
267267
}
268268

269+
path = decodeURIComponent(path);
270+
269271
try {
270272
switch (method) {
271273
case 'GET': {

0 commit comments

Comments
 (0)