You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2015/03/02 18:53:23 UTC

[Bug 57652] Contents of cookie are URL encoded using mod_log_config %{VARNAME}C

https://bz.apache.org/bugzilla/show_bug.cgi?id=57652

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Eric Covener <co...@gmail.com> ---
Doesn't do that for me.  It should only escape quotes and unprintables.

$ grep common built/conf/httpd.conf
    LogFormat "%a %h %l %u %t \"%r\" %>s %b %f %D %{foo}C" common
    CustomLog "logs/access_log" common

$ wget -qS --header="Cookie: foo=bar,baz" http://localhost/index.html -O-
  HTTP/1.1 200 OK
  Date: Mon, 02 Mar 2015 17:52:25 GMT
  Server: Apache/2.5.0-dev (Unix) OpenSSL/1.0.1f
  Last-Modified: Fri, 23 Jan 2015 17:26:26 GMT
  ETag: "0-50d5516994c52"
  Accept-Ranges: bytes
  Content-Length: 0
  Keep-Alive: timeout=5, max=100
  Connection: Keep-Alive
  Content-Type: text/html

$ tail -1 built/logs/access_log 
127.0.0.1 127.0.0.1 - - [02/Mar/2015:17:52:25 +0000] "GET /index.html HTTP/1.1"
200 - /home/covener/public_html/index.html 306 bar,baz

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org