Skip to content

Commit f68e175

Browse files
author
Andre Malo
committed
don't let mod_usertrack overwrite other cookies
PR: 26002 Submitted by: Scott Moore <apache nopdesign.com> Reviewed by: Brad Nicholes, Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@102450 13f79535-47bb-0310-9956-ffa450edef68
1 parent 9bb5415 commit f68e175

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

CHANGES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Changes with Apache 2.0.49
22

3+
*) mod_usertrack no longer overwrites other cookies.
4+
PR 26002. [Scott Moore <apache nopdesign.com>]
5+
36
*) worker MPM: fix stack overlay bug that could cause the parent
47
process to crash. [Jeff Trawick]
58

STATUS

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
APACHE 2.0 STATUS: -*-text-*-
2-
Last modified at [$Date: 2004/01/29 21:15:39 $]
2+
Last modified at [$Date: 2004/01/29 21:30:48 $]
33

44
Release:
55

@@ -305,11 +305,6 @@ PATCHES TO BACKPORT FROM 2.1
305305
modules/experimental/cache_cache.c r1.5
306306
+1: jwoolley, bnicholes, rederpj
307307

308-
* Don't let mod_usertrack overwrite other cookies. (2.0 + 1.3)
309-
PR 26002.
310-
modules/metadata/mod_usertrack.c: r1.44
311-
+1: nd, bnicholes, trawick
312-
313308
* mod_usertrack: Use always the Cookie header to determine
314309
the cookie name (2.0 + 1.3). PR 11475.
315310
modules/metadata/mod_usertrack.c: r1.45

modules/metadata/mod_usertrack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ static void make_cookie(request_rec *r)
188188
NULL);
189189
}
190190

191-
apr_table_setn(r->headers_out,
191+
apr_table_addn(r->headers_out,
192192
(dcfg->style == CT_COOKIE2 ? "Set-Cookie2" : "Set-Cookie"),
193193
new_cookie);
194194
apr_table_setn(r->notes, "cookie", apr_pstrdup(r->pool, cookiebuf)); /* log first time */

0 commit comments

Comments
 (0)