Skip to content

Commit 341f873

Browse files
committed
Test for double decoding
1 parent 6b7a452 commit 341f873

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/cases.spec.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,14 @@ export const MATCH_TESTS: MatchTestSet[] = [
299299
params: { test: ";,:@&=+$-_.!~*()" },
300300
},
301301
},
302+
{
303+
input: "/param%2523",
304+
matches: ["/param%2523", "param%2523"],
305+
expected: {
306+
path: "/param%2523",
307+
params: { test: "param%23" },
308+
},
309+
},
302310
],
303311
},
304312

0 commit comments

Comments
 (0)