Workers - Workers Static Assets: Corrected handling of double slashes in redirect rule paths
10mo ago
Source
CloudflareWorkers - Workers Static Assets: Corrected handling of double slashes in redirect rule pathscloudflare.comStatic Assets : Fixed a bug in how redirect rules defined in your Worker's _redirects file are processed. 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 instead of /example.com on your domain. This has been fixed and double slashes now correctly resolve as local paths. Note: Cloudflare Pages was not affected by this issue.
You might also wanna read
Technical Analysis: Why Collapsing Double Slashes in HTTP URL Paths is Not Valid Normalization
This technical article explains that collapsing double slashes (//) to single slashes in HTTP URL paths is incorrect and not a valid form of
runxiyu.org·2mo ago
Implementing regex-based redirects on Azure Static Web Apps using Azure Functions
A developer describes the challenge of implementing redirects when migrating a blog to Azure Static Web Apps. The built-in routing isn't fle
Custom Cloudflare-Style Error Page Generator: Open-Source Tool for Website Error Pages
This article describes an open-source GitHub project called 'cloudflare-error-page' that allows users to create customized error pages mimic
Guide: Hosting a Blog on a Subdirectory with Cloudflare Workers for Better SEO
This technical guide provides step-by-step instructions for hosting a blog on a subdirectory (e.g., example.com/blog) instead of a subdomain

Comments
Sign in to join the conversation.
No comments yet. Be the first.