From: Maciej Zdeb Date: Thu, 26 Nov 2020 10:45:52 +0000 (+0000) Subject: DOC: Clarify %HP description in log-format X-Git-Tag: v2.4-dev2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=21acc33266cc04eac5e70c22839d622284a6f46a;p=thirdparty%2Fhaproxy.git DOC: Clarify %HP description in log-format %HP is used to report HTTP request URI in logs, which might be relative or absolute. Description in documentation should not suggest that it behaves exactly the same as "path" sample fetch. This is even more important after 30ee1efe676e8264af16bab833c621d60a72a4d7 because right now, when HTTP2 is a standard, %HP usually returns absolute URI. This might be backported as far as 2.1 --- diff --git a/doc/configuration.txt b/doc/configuration.txt index 208ce2d6c3..e28601fd10 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -19617,7 +19617,7 @@ Please refer to the table below for currently defined variables : | H | %CS | captured_response_cookie | string | | | %H | hostname | string | | H | %HM | HTTP method (ex: POST) | string | - | H | %HP | HTTP request URI without query string (path) | string | + | H | %HP | HTTP request URI without query string | string | | H | %HQ | HTTP request URI query string (ex: ?bar=baz) | string | | H | %HU | HTTP request URI (ex: /foo?bar=baz) | string | | H | %HV | HTTP version (ex: HTTP/1.0) | string |