summaryrefslogtreecommitdiff
path: root/framework/Web/TUrlMapping.php
diff options
context:
space:
mode:
authormikl <>2008-10-15 18:07:16 +0000
committermikl <>2008-10-15 18:07:16 +0000
commit0c32dad370fb228c36baddd6d7af295aff28f7e8 (patch)
tree31f87fc5afd5601c37f2c081e74af2997f3c3a9c /framework/Web/TUrlMapping.php
parent3dc2a1c23cefab8eec0fc564ac7ca421e8e357e1 (diff)
Fixed #922
Diffstat (limited to 'framework/Web/TUrlMapping.php')
-rw-r--r--framework/Web/TUrlMapping.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/Web/TUrlMapping.php b/framework/Web/TUrlMapping.php
index d3757aaa..662f96dd 100644
--- a/framework/Web/TUrlMapping.php
+++ b/framework/Web/TUrlMapping.php
@@ -617,7 +617,7 @@ class TUrlMappingPattern extends TComponent
foreach($getItems as $key=>$value)
{
if($encodeGetItems)
- $value=urlencode($value);
+ $value=rawurlencode($value);
if($this->_parameters->contains($key))
$replace['{'.$key.'}']=$value;
else
@@ -637,12 +637,12 @@ class TUrlMappingPattern extends TComponent
{
if(is_array($value))
{
- $name=urlencode($name.'[]');
+ $name=rawurlencode($name.'[]');
foreach($value as $v)
- $url2.=$amp.$name.'='.urlencode($v);
+ $url2.=$amp.$name.'='.rawurlencode($v);
}
else
- $url2.=$amp.urlencode($name).'='.urlencode($value);
+ $url2.=$amp.rawurlencode($name).'='.rawurlencode($value);
}
}
else