fix(static): narrow path traversal check to match `..` as a path segm… · h3js/h3@c049dc0 · GitHub
Skip to content

Commit c049dc0

Browse files
committed
fix(static): narrow path traversal check to match .. as a path segment only
resolves #1345
1 parent 3faaea0 commit c049dc0

2 files changed

Lines changed: 93 additions & 23 deletions

File tree

‎src/utils/static.ts‎

Lines changed: 1 addition & 1 deletion

‎test/static.test.ts‎

Lines changed: 92 additions & 22 deletions

0 commit comments

Comments
 (0)