httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <>
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 <>
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).

PS. Brian, the bug report form died on me and said to contact you.,
PPS. The comment area at the top of mod_usertrack should be adjusted
     as well  :-)

View raw message