summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndré Malo <nd@apache.org>2004-01-13 00:33:01 +0000
committerAndré Malo <nd@apache.org>2004-01-13 00:33:01 +0000
commitc14ed16e3ca97e82490528bff92a94226a328d0a (patch)
tree38c2275012c72199f72025bcc519386862468016 /modules
parent302947bdea30d89c5f00de7e3e6ff1340dcbd785 (diff)
downloadhttpd-c14ed16e3ca97e82490528bff92a94226a328d0a.tar.gz
according to RFC 2965, inspect only the Cookie header (vs. Cookie2)
PR: 11475 Submitted by: chrisd pearsoncmg.com (Chris Darroch) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102311 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r--modules/metadata/mod_usertrack.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/metadata/mod_usertrack.c b/modules/metadata/mod_usertrack.c
index 4672639b13..a967ed060c 100644
--- a/modules/metadata/mod_usertrack.c
+++ b/modules/metadata/mod_usertrack.c
@@ -211,10 +211,7 @@ static int spot_cookie(request_rec *r)
return DECLINED;
}
- if ((cookie_header = apr_table_get(r->headers_in,
- (dcfg->style == CT_COOKIE2
- ? "Cookie2"
- : "Cookie")))) {
+ if ((cookie_header = apr_table_get(r->headers_in, "Cookie"))) {
if (!ap_regexec(dcfg->regexp, cookie_header, NUM_SUBS, regm, 0)) {
char *cookieval = NULL;
/* Our regexp,