cloudflare / vinext

fix: use decoded pathname for config matcher evaluation (#150)
Config matchers (redirects, rewrites, headers) now receive the decoded, normalized pathname so that percent-encoded request paths like /%61bout correctly match config rules defined for /about. Both dev and prod servers rebuild the working URL from the decoded pathname + original query string, ensuring all downstream consumers operate on canonical paths. Also adds unit and integration tests for percent-encoded path handling in config matchers across App Router and Pages Router (dev + prod).
Steve Faulkner Steve Faulkner committed on Feb 27, 2026, 02:15 AM
Showing 5 changed files +170 additions -3 deletions
Browse files at this commit โ†’