]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 5504: Document that Squid discards invalid rewrite-url (#2202)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Sat, 6 Sep 2025 22:16:07 +0000 (22:16 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sun, 7 Sep 2025 20:54:44 +0000 (20:54 +0000)
... values returned by url_rewrite_program.

src/cf.data.pre

index 137369f136799363c5b3813252a0d005eded97f8..5a6f7b90f3ff79a6bbea007c25bb36e50e96d627 100644 (file)
@@ -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.