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 <[EMAIL PROTECTED]>
  
  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 <[EMAIL PROTECTED]>]
  +
   AIX compile fixes [Jens-Uwe Mager <[EMAIL PROTECTED]>]
   
   =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);
  
  
  

Reply via email to