Bug 26002 - mod_usertrack prohibits other modules from setting cookies
Summary: mod_usertrack prohibits other modules from setting cookies
Status: CLOSED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_usertrack (show other bugs)
Version: 2.0-HEAD
Hardware: All other
: P3 major (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
: 26693 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-08 22:47 UTC by Scott Moore
Modified: 2004-11-16 19:05 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Moore 2004-01-08 22:47:21 UTC
mod_usertrack improperly makes a call to apr_table_setn to create the 
"Set-Cookie" header.  If another module has run before mod_usertrack and added 
it's own "Set-Cookie" or "Set-Cookie2" header, the data is lost.  This affects 
both Apache 2.0 and Apache 1.3. 

A call to apr_table_addn instead may be more appropriate (mod_usertrack.c, line 
191).
Comment 1 André Malo 2004-01-13 00:17:44 UTC
Fixed in 2.1 and proposed for backport into 2.0 and 1.3 branches.

Thanks for the report and thanks for using Apache.
Comment 2 André Malo 2004-02-05 23:22:15 UTC
*** Bug 26693 has been marked as a duplicate of this bug. ***