Skip to content

Commit

Permalink
chore: changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
Cherry committed Dec 22, 2024
1 parent 4861c29 commit 48fdec6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/empty-cars-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cloudflare/workers-shared": patch
---

fix: resolves an issue where a malformed path such as `https://example.com/%A0` would cause an unhandled error
2 changes: 1 addition & 1 deletion packages/workers-shared/asset-worker/tests/handler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ describe("[Asset Worker] `handleRequest`", () => {
};

const response = await handleRequest(
new Request("https://example.com/%AO"),
new Request("https://example.com/%A0"),
configuration,
async (pathname: string) => {
return assets[pathname] ?? null;
Expand Down

0 comments on commit 48fdec6

Please sign in to comment.