Skip to content

Commit 5df284a

Browse files
dinasaur404kodster28WalshyDev
authored
Changelog for static assets redirect URL bug fix (#24462)
* Create 2025-08-15-static-assets-redirect-url.mdx * Update 2025-08-15-static-assets-redirect-url.mdx * Update 2025-08-15-static-assets-redirect-url.mdx * Create 2025-08-15-static-assets-redirect-url.mdx * Delete src/content/changelog/workers/rc/content/changelog/<PRODUCT_NAME>/2025-08-15-static-assets-redirect-url.mdx * Update src/content/changelog/workers/2025-08-15-static-assets-redirect-url.mdx Co-authored-by: Daniel Walsh <[email protected]> --------- Co-authored-by: Kody Jackson <[email protected]> Co-authored-by: Daniel Walsh <[email protected]>
1 parent b89e582 commit 5df284a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: 'Workers Static Assets: Corrected handling of double slashes in redirect rule paths'
3+
description: Corrected handling of double slashes in redirect rule paths
4+
date: 2025-08-15
5+
---
6+
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. Note: [Cloudflare Pages](/pages/) was not affected by this issue.

0 commit comments

Comments
 (0)