From: André Malo Date: Tue, 13 Jan 2004 00:33:01 +0000 (+0000) Subject: according to RFC 2965, inspect only the Cookie header (vs. Cookie2) X-Git-Tag: pre_ajp_proxy~810 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c14ed16e3ca97e82490528bff92a94226a328d0a;p=apache 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 --- diff --git a/CHANGES b/CHANGES index d0c2513617..5285a4ad94 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.1.0-dev [Remove entries to the current 2.0 section below, when backported] + *) mod_usertrack no longer inspects the Cookie2 header for + the cookie name. PR 11475. [Chris Darrochi ] + *) mod_usertrack no longer overwrites other cookies. PR 26002. [Scott Moore ] 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,