Skip to content

Commit

Permalink
URI decode path before matching
Browse files Browse the repository at this point in the history
  • Loading branch information
thomassnielsen committed Oct 21, 2024
1 parent ed6ea50 commit 5659e49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/server/src/api/rest/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ class RequestHandler extends APIHandlerBase {
path = '/' + path;
}

path = decodeURIComponent(path);

try {
switch (method) {
case 'GET': {
Expand Down

0 comments on commit 5659e49

Please sign in to comment.