httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject cvs commit: httpd-apreq/c apache_cookie.c
Date Fri, 05 Jan 2001 00:05:23 GMT
jimw        01/01/04 16:05:23

  Modified:    .        Changes
               c        apache_cookie.c
  Log:
  Handle cookies with names but no value
  Submitted by:	 David Welton <davidw@prosa.it>
  
  Revision  Changes    Path
  1.26      +2 -0      httpd-apreq/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/httpd-apreq/Changes,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- Changes	2001/01/03 03:58:52	1.25
  +++ Changes	2001/01/05 00:05:22	1.26
  @@ -4,6 +4,8 @@
   
   =item 0.32 - ?
   
  +Handle cookies with names but no value [David Welton <davidw@prosa.it>]
  +
   AIX compile fixes [Jens-Uwe Mager <jum@helios.de>]
   
   =item 0.31_03 - December 23, 2000
  
  
  
  1.8       +5 -0      httpd-apreq/c/apache_cookie.c
  
  Index: apache_cookie.c
  ===================================================================
  RCS file: /home/cvs/httpd-apreq/c/apache_cookie.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- apache_cookie.c	2000/12/18 20:52:29	1.7
  +++ apache_cookie.c	2001/01/05 00:05:23	1.8
  @@ -169,6 +169,11 @@
   	else {
   	    c->values = ap_make_array(r->pool, 4, sizeof(char *));
   	}
  +
  +	if (!*pair) {
  +	    ApacheCookieAdd(c, "");
  +	}
  +
   	while (*pair && (val = ap_getword(r->pool, &pair, '&'))) {
   	    ap_unescape_url((char *)val);
   	    ApacheCookieAdd(c, val);
  
  
  

Mime
View raw message