ASF Bugzilla – Attachment 28642 Details for
Bug 53104
LogFormat "%{xyz}C" truncates cookie content at '=' character
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mod_log_config cookie logging 2.2 patch
log_cookie_equal (text/plain), 823 bytes, created by
Greg Ames
on 2012-04-19 17:41:50 UTC
(
hide
)
Description:
mod_log_config cookie logging 2.2 patch
Filename:
MIME Type:
Creator:
Greg Ames
Created:
2012-04-19 17:41:50 UTC
Size:
823 bytes
patch
obsolete
>Index: modules/loggers/mod_log_config.c >=================================================================== >--- modules/loggers/mod_log_config.c (revision 32395) >+++ modules/loggers/mod_log_config.c (working copy) >@@ -517,10 +517,10 @@ > while ((cookie = apr_strtok(cookies, ";", &last1))) { > char *name = apr_strtok(cookie, "=", &last2); > if (name) { >- char *value; >+ char *value = name + strlen(name) + 1; > apr_collapse_spaces(name, name); > >- if (!strcasecmp(name, a) && (value = apr_strtok(NULL, "=", &last2))) { >+ if (!strcasecmp(name, a)) { > char *last; > value += strspn(value, " \t"); /* Move past leading WS */ > last = value + strlen(value) - 1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 53104
: 28642