Files
Miguel da Costa Martins Marcelino 059f86a8dd VULN-141859: Normalize request path when using access rules
With the previous changes made to normalize request paths, we faced some issues:

* Regressions in Next.js route groups: https://github.com/cloudflare/cloudflared/issues/1719
* WordPress trailing slashes: https://github.com/cloudflare/cloudflared/issues/1717

This PR attempts to fix a vulnerability regarding un-normalized request paths using a different approach:
instead of mutating `req.URL.Path` before forwarding to the origin, we compute a cleaned path used only for
ingress rule selection, leaving the original request completely untouched. This separates the security classification decision from request proxying.

Since this can be a breaking change, we are adding it disabled by default and will only enable it in future releases.
2026-09-29 17:51:37 +01:00
..
2022-11-11 19:43:26 +00:00
2022-11-11 19:43:26 +00:00
2025-06-06 09:05:49 +00:00