Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Commit

Permalink
fix: query encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
hal-wang committed Apr 25, 2021
1 parent 5fbf1bf commit 90e4ee1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hal-wang/cloudbase-access",
"version": "1.2.7",
"version": "1.2.8",
"description": "利用 NodeJS 和 CloudBase 快速创建 Serverless RESTful Api",
"homepage": "https://github.com/hal-wang/cloudbase-access",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/Map/MapParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default class MapParser {
const reqPathStr = reqPathStrs[i];

const key = mapPathStr.substr(1, mapPathStr.length - 1);
const value = reqPathStr;
const value = decodeURIComponent(reqPathStr);
this.requestParams.query[key] = value;
}
}
Expand Down

0 comments on commit 90e4ee1

Please sign in to comment.