From: Amos Jeffries Date: Wed, 5 Sep 2018 18:17:48 +0000 (+0000) Subject: Bug 4877: Add missing text about external_acl_type %DATA changes (#276) X-Git-Tag: M-staged-PR276 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fb65892e515a6d9d5ae2a928b5bf3f2cd2825bd;p=thirdparty%2Fsquid.git Bug 4877: Add missing text about external_acl_type %DATA changes (#276) Conversion of external_acl_type to using logformat macros was not quite seamless. The %DATA macro now expands to a dash '-' to fix helpers using it explicitly from receiving incorrect number of fields (and misaligned input) on their input lines. Unfortunately that also results in the implicit use of that macro expanding to non-whitespace ('-'). That small fact was not documented in the initial v4 release notes and config texts. --- diff --git a/doc/release-notes/release-4.sgml b/doc/release-notes/release-4.sgml index d0c16bc493..dfa0957bc2 100644 --- a/doc/release-notes/release-4.sgml +++ b/doc/release-notes/release-4.sgml @@ -335,6 +335,8 @@ This section gives a thorough account of those changes in three categories:

New parameter on-persistent-overload= to set the action taken when the helper queue is overloaded.

Format field updated to accept any logformat %macro code. +

The optional acl-value fields in this helper input now expand + to a dash ('-') if the %DATA macro is not specified explicitly. http_port

New option tls-min-version=1.N to set minimum TLS version allowed. diff --git a/src/cf.data.pre b/src/cf.data.pre index 181253fa72..6255d302dc 100644 --- a/src/cf.data.pre +++ b/src/cf.data.pre @@ -862,6 +862,8 @@ DOC_START If you do not specify a DATA macro inside FORMAT, Squid automatically appends %DATA to your FORMAT. + Note that Squid-3.x may expand %DATA to whitespace + or nothing in this case. By default, Squid applies URL-encoding to each ACL argument inside the argument string. If an explicit