httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject mod_usertrack.c bad cookie note (fwd)
Date Sat, 01 Feb 1997 23:35:09 GMT

Not acked. Originally Cc'ed to Mark and Brian.

---------- Forwarded message ----------
Date: Sat, 01 Feb 1997 17:41:08 -0500
From: Charles Thayer <thayer@mediabridge.com>
To: apache-bugs@apache.org
Cc: brian@hyperreal.com, mb-ops@astor.mediabridge.com, mark@ukweb.com
Subject: mod_usertrack.c bad cookie note

Version: SunOS 4.1.3, apache_1.2b*
Modules: mod_usertrack mod_log_config

Source code bug.  mod_log_config.c(660:apache_1.2b6)
uses the new add_custom_log function with "%{Cookie}n",
but mod_usertrack.c(169,192:apache_1.2b6) uses the
table_set function with "cookie" in lower-case.  

The result of this is that the cookie log will always
log the cookie as "-" instead of expanding the cookie
to the noted value.

Either mod_log_config.c should use "%{cookie}n" or
mod_usertrack.c should save the cookie information 
under the name "Cookie" (upper-case).

/charles
PS. Brian, the bug report form died on me and said to contact you.
    http://apache.org/bug_report.html, http://www.apache.org/bugs.cgi
PPS. The comment area at the top of mod_usertrack should be adjusted
     as well  :-)





Mime
View raw message