From c850d9a803cfa2c13c1d358e108bcff9e52e2993 Mon Sep 17 00:00:00 2001 From: Eduard Bagdasaryan Date: Sat, 6 Sep 2025 22:16:07 +0000 Subject: [PATCH] Bug 5504: Document that Squid discards invalid rewrite-url (#2202) ... values returned by url_rewrite_program. --- src/cf.data.pre | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cf.data.pre b/src/cf.data.pre index 137369f136..5a6f7b90f3 100644 --- a/src/cf.data.pre +++ b/src/cf.data.pre @@ -6027,6 +6027,12 @@ DOC_START Location headers and embedded URLs after the helper rewrites the request URL. + If Squid cannot parse the URL value returned by the helper, it logs a + critical cache.log ERROR message and uses the original request URL. + Supported URL format depends on the request method. For example, + CONNECT request URLs must use `host:port` form, while GET URLs start + with a `scheme:` prefix (e.g., `https://example.com/`). + OK Keep the client request intact. -- 2.47.3