]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
ap_http_header_filter: avoid double encoding of output headers in traces.
authorYann Ylavic <ylavic@apache.org>
Mon, 16 Sep 2019 11:46:27 +0000 (11:46 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 16 Sep 2019 11:46:27 +0000 (11:46 +0000)
commitc09cdc30b55325be28488a7f13d95730d369f935
tree182cc78d54d7b7fdee27c8eb29974eb8e4af40bb
parentd14b38da7eafbf8a58451f49c99ce62cbc91b6b1
ap_http_header_filter: avoid double encoding of output headers in traces.

When output headers are logged (TRACE4) in send_all_header_fields(), we don't
need to explicitely ap_escape_logitem() them since ap_log_rerror() takes care
of log files escaping already.

Otherwise, characters like '"' are unncesseralily encoded, and '\\' is doubly
encoded (including for controls).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1866998 13f79535-47bb-0310-9956-ffa450edef68
modules/http/http_filters.c