~hww3/caudium

2a9e2b90474d910b6a5bb7cddd12fa0118a83cf8 — William Welliver 2 years ago 895f0d8
empty variable names were being recorded using encoded names
2 files changed, 4 insertions(+), 1 deletions(-)

M CHANGES
M src/cmods/_Caudium/caudium.c
M CHANGES => CHANGES +3 -0
@@ 1,5 1,8 @@
Changes in Caudium 1.5.1 since Caudium 1.4.1
---------------------------------------------
- Decoded queries with empty variables should now use properly decoded
   names for those variables.
  (Bill Welliver)
- Fix bugs in cimg, business_graphics, auth_sqluserdb identified when
   running under Pike 8.0
  (Bill Welliver)

M src/cmods/_Caudium/caudium.c => src/cmods/_Caudium/caudium.c +1 -1
@@ 1071,7 1071,7 @@ static void f_parse_query_string( INT32 args )
          if (!valulen) {
            /* valueless, add the name to the multiset */
            SET_SVAL_TYPE(skey, T_STRING);
            skey.u.string = make_shared_binary_string(name, namelen);
            //skey.u.string = make_shared_binary_string(name, namelen);
            if (!skey.u.string)
              Pike_error("Out of memory.\n");
            multiset_insert(emptyvars, &skey);