Replace spaces with %20 in RedirectUrl Rule

Thanks to Antonio Araya for the suggestion
This commit is contained in:
2013-09-04 07:56:39 +01:00
parent e3603776d5
commit f42396d784

View File

@@ -59,6 +59,8 @@ EOT;
$toUrl = $to;
$to = parse_url($to);
$toUrl = str_replace(' ', '%20', $toUrl);
if (!$from || !$to)
return False;
$default = array('scheme'=>false,'host'=>false,'port'=>false,'path'=>false,'query'=>false,'fragment'=>false);