0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-24 11:07:29 +01:00
hono/benchmarks
Taku Amano 778ac10e84
feat: decode percent-encoded path in getPath (#2714)
* feat: decode percent-encoded path in `getPath`

* refactor: Stop decoding URIs in the `param()` method, since they are already decoded in `getPath()`

* test: add tests for decoding URI in path

* chore: denoify

* Revert "refactor: Stop decoding URIs in the `param()` method, since they are already decoded in `getPath()`"

This reverts commit 7192497e69.

* refactor: Replace "%25" before applying decodeURI() for avoid double decoding

Co-authored-by: Szymon Marczak <36894700+szmarczak@users.noreply.github.com>

* chore: denoify

* refactor(utils): check existence of "%25" before replacing it with "%2525"

Co-authored-by: Szymon Marczak <36894700+szmarczak@users.noreply.github.com>

* feat(utils/url): Changed URL decoding to skip invalid sequences and decode as much as possible

* chore: denoify

---------

Co-authored-by: Szymon Marczak <36894700+szmarczak@users.noreply.github.com>
2024-05-23 05:44:00 +09:00
..
deno chore: update Deno benchmark (#880) 2023-02-11 06:43:07 +09:00
handle-event refactor(app): add "deprecate message" for app.handleEvent() (#1298) 2023-08-05 23:41:45 +09:00
jsx chore(benchmarks/jsx): Update benchmark (#1768) 2023-12-03 22:03:55 +09:00
query-param chore: use Bun as a package manager (#2105) 2024-01-29 23:27:54 +09:00
routers chore(benchmark): add memoirist router (#1474) 2023-09-17 09:08:59 +09:00
routers-deno feat: introduce PatternRouter and hono/tiny (#1036) 2023-04-28 12:10:20 +09:00
utils feat: decode percent-encoded path in getPath (#2714) 2024-05-23 05:44:00 +09:00
webapp chore: update benchmark script 2022-05-26 09:09:19 +09:00