Still, the skey in the empty variables multiset isn't url_decoded.
Index: caudium.c
===================================================================
RCS file: /cvs/caudium/caudium/src/cmods/_Caudium/caudium.c,v
retrieving revision 1.144.2.13
retrieving revision 1.144.2.14
diff -u -r1.144.2.13 -r1.144.2.14
--- caudium.c 19 Sep 2006 18:35:53 -0000 1.144.2.13
+++ caudium.c 22 Feb 2007 09:13:03 -0000 1.144.2.14
@@ -18,11 +18,11 @@
*
*/
/*
- * $Id: caudium.c,v 1.144.2.13 2006/09/19 18:35:53 kiwi Exp $
+ * $Id: caudium.c,v 1.144.2.14 2007/02/22 09:13:03 bertrand Exp $
*/
#include "global.h"
-RCSID("$Id: caudium.c,v 1.144.2.13 2006/09/19 18:35:53 kiwi Exp $");
+RCSID("$Id: caudium.c,v 1.144.2.14 2007/02/22 09:13:03 bertrand Exp $");
#include "caudium_util.h"
#include "caudium_machine.h"
#include "entparse.h"
@@ -87,7 +87,7 @@
/*
**! file: Caudium/caudium.c
**! Caudium specific classes and functions.
-**! cvs_version: $Id: caudium.c,v 1.144.2.13 2006/09/19 18:35:53 kiwi Exp $
+**! cvs_version: $Id: caudium.c,v 1.144.2.14 2007/02/22 09:13:03 bertrand Exp $
*/
/*
@@ -1066,14 +1066,14 @@
if (!valulen) {
/* valueless, add the name to the multiset */
- sval.type = T_STRING;
- sval.u.string = make_shared_binary_string(name, namelen);
- if (!sval.u.string)
+ skey.type = T_STRING;
+ skey.u.string = make_shared_binary_string(name, namelen);
+ if (!skey.u.string)
Pike_error("Out of memory.\n");
- multiset_insert(emptyvars, &sval);
+ multiset_insert(emptyvars, &skey);
free_svalue(&skey);
- free_svalue(&sval);
+// free_svalue(&sval);
name = ptr + 1;
equal = NULL;
Archive powered by MhonArc 2.6.10.