Bug 360 - [Chameleon] Query Widget URL parse routine malforms Query String
: [Chameleon] Query Widget URL parse routine malforms Query String
Status: CLOSED FIXED
: Chameleon
Widget
: 1.1
: PC Windows NT
: P2 normal
: 1.99 beta 2
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-04-20 14:20 by
Modified: 2004-06-24 09:56 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-04-20 14:20:07
Query.widget.php

The Query widget function setURLQueryParam( $szURL, $szValue, $szParam ) *can*
result in a malformed URL under certain curcumstances (eg, spaces in param
values).  The following fix resolves the issue:

original line 763:  $szQuery .= $szSep.$key."=".$value;
amended line 763:  $szQuery .= $szSep.$key."=".urlencode( $value );
------- Comment #1 From 2004-04-20 14:22:30 -------
fixed in CVS. The cause of this is the parse_str() function in php.  It
automagically urldecodes the string.  Fixed as indicated by Jason.
------- Comment #2 From 2004-06-24 09:56:36 -------
no longer can be verified since the Query widget has gone under major
reconstruction, with the Chameleon version 1.99 beta 2 2004-06-20.

Closing bug.