From: Amos Jeffries Date: Thu, 1 Oct 2015 12:58:19 +0000 (-0700) Subject: URL-encode the implicit %DATA appended to helper format X-Git-Tag: SQUID_4_0_1~5^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57c2fb8898935bf492e4f8d4a4bc8b1eb88376f9;p=thirdparty%2Fsquid.git URL-encode the implicit %DATA appended to helper format There is nothing we can easily do about %DATA explicitly used inside the format. It will by non-encoded unless specific encoding is written in the format config, according to logformat design. --- diff --git a/src/external_acl.cc b/src/external_acl.cc index ac52a51c37..e89631acc4 100644 --- a/src/external_acl.cc +++ b/src/external_acl.cc @@ -324,6 +324,7 @@ parse_externalAclHelper(external_acl ** list) if (!data_used) { *fmt = new Format::Token; (*fmt)->type = Format::LFT_EXT_ACL_DATA; + (*fmt)->quote = Format::LOG_QUOTE_URL; } /* helper */