You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2004/01/13 01:15:03 UTC

cvs commit: httpd-2.0/modules/metadata mod_usertrack.c

nd          2004/01/12 16:15:03

  Modified:    .        CHANGES
               modules/metadata mod_usertrack.c
  Log:
  don't overwrite other cookies
  
  PR: 26002
  Submitted by: apache nopdesign.com (Scott Moore)
  
  Revision  Changes    Path
  1.1364    +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1363
  retrieving revision 1.1364
  diff -u -u -r1.1363 -r1.1364
  --- CHANGES	12 Jan 2004 22:48:07 -0000	1.1363
  +++ CHANGES	13 Jan 2004 00:15:03 -0000	1.1364
  @@ -2,6 +2,9 @@
   
     [Remove entries to the current 2.0 section below, when backported]
   
  +  *) mod_usertrack no longer overwrites other cookies.
  +     PR 26002.  [Scott Moore <apache nopdesign.com>]
  +
     *) Make REMOTE_PORT variable available in mod_rewrite.
        PR 25772.  [Andr� Malo]
   
  
  
  
  1.44      +1 -1      httpd-2.0/modules/metadata/mod_usertrack.c
  
  Index: mod_usertrack.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/metadata/mod_usertrack.c,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -u -r1.43 -r1.44
  --- mod_usertrack.c	1 Jan 2004 13:26:20 -0000	1.43
  +++ mod_usertrack.c	13 Jan 2004 00:15:03 -0000	1.44
  @@ -188,7 +188,7 @@
                                    NULL);
       }
   
  -    apr_table_setn(r->headers_out,
  +    apr_table_addn(r->headers_out,
                      (dcfg->style == CT_COOKIE2 ? "Set-Cookie2" : "Set-Cookie"),
                      new_cookie);
       apr_table_setn(r->notes, "cookie", apr_pstrdup(r->pool, cookiebuf));   /* log first time */