Skip to content

Commit c0cca2a

Browse files
authored
Update 2025-08-15-static-assets-redirect-url.mdx
1 parent 151c752 commit c0cca2a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/content/changelog/workers/rc/content/changelog/<PRODUCT_NAME>/2025-08-15-static-assets-redirect-url.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ description: Corrected handling of double slashes in redirect rule paths
44
date: 2025-08-15
55
---
66

7-
[Static Assets](/workers/static-assets/): Fixed a bug in how redirect rules are processed. A URL path containing a double forward slash (//) is now correctly interpreted as a local path.
7+
[Static Assets](/workers/static-assets/): Fixed a bug in how [redirect rules](https://developers.cloudflare.com/workers/static-assets/redirects/) defined in your Worker's `_redirects` file are processed.
8+
9+
If you're serving Static Assets with a `_redirects` file containing a rule like `/ja/* /:splat`, paths with double slashes were previously misinterpreted as external URLs. For example, visiting `/ja//example.com` would incorrectly redirect to `https://example.com` instead of `/example.com` on your domain. This has been fixed and double slashes now correctly resolve as local paths.

0 commit comments

Comments
 (0)