diff options
author | xue <> | 2006-07-25 12:11:15 +0000 |
---|---|---|
committer | xue <> | 2006-07-25 12:11:15 +0000 |
commit | 23c1e24188f510d7ea646218c150ccfa719011e0 (patch) | |
tree | 9be1dc4bff0bb4b89bd535430f3b93df87579ef2 | |
parent | 610a6c68b9d3a3d4cacf71e0d6f4ab7cce3b969c (diff) |
Fixed #297.
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | framework/Web/THttpRequest.php | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ Version 3.0.3 August 6, 2006 ============================ BUG: Ticket#264 - Typos in some exception throw statements (Knut) BUG: Ticket#268 - THttpResponse.redirect() may fail for some browsers (Qiang) +BUG: Ticket#297 - THttpRequest::constructUrl() encoding bug about array GET parameters (Qiang) BUG: TDataGrid may complain getting ItemType on a non-object if the grid is not data-bound (Qiang) BUG: TCheckBox.Value should be converted to string (Qiang) CHG: Ticket#206 - TBaseValidator.OnValidate is raised only when the validator is visible (Qiang) diff --git a/framework/Web/THttpRequest.php b/framework/Web/THttpRequest.php index 323a4b7c..b4e2af65 100644 --- a/framework/Web/THttpRequest.php +++ b/framework/Web/THttpRequest.php @@ -475,7 +475,7 @@ class THttpRequest extends TApplicationComponent implements IteratorAggregate,Ar {
$name=urlencode($name.'[]');
foreach($value as $v)
- $url.=$amp.$name.'='.$v;
+ $url.=$amp.$name.'='.urlencode($v);
}
else
$url.=$amp.urlencode($name).'='.urlencode($value);
|