You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by ji...@locus.apache.org on 2000/12/18 21:52:30 UTC

cvs commit: httpd-apreq/c apache_cookie.c

jimw        00/12/18 12:52:30

  Modified:    c        apache_cookie.c
  Log:
  unescape cookie names properly
  Submitted by:	David Welton
  
  Revision  Changes    Path
  1.7       +1 -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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- apache_cookie.c	2000/03/30 06:10:27	1.6
  +++ apache_cookie.c	2000/12/18 20:52:29	1.7
  @@ -161,6 +161,7 @@
   	    ++data;
   	}
   	key = ap_getword(r->pool, &pair, '=');
  +	ap_unescape_url((char *)key);
   	c = ApacheCookie_new(r, "-name", key, NULL);
   	if (c->values) {
   	    c->values->nelts = 0;