]> 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)
committerFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Mon, 8 Sep 2025 11:08:34 +0000 (12:08 +0100)
... values returned by url_rewrite_program.

src/cf.data.pre

index d2d7202322618e3005852e47fc83b041fb9c5a6b..0a73020e111abe177f3e866c61ff56d68abf6985 100644 (file)
@@ -6040,6 +6040,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.