Replace spaces with %20 in RedirectUrl Rule
Thanks to Antonio Araya for the suggestion
This commit is contained in:
@@ -59,6 +59,8 @@ EOT;
|
|||||||
$toUrl = $to;
|
$toUrl = $to;
|
||||||
$to = parse_url($to);
|
$to = parse_url($to);
|
||||||
|
|
||||||
|
$toUrl = str_replace(' ', '%20', $toUrl);
|
||||||
|
|
||||||
if (!$from || !$to)
|
if (!$from || !$to)
|
||||||
return False;
|
return False;
|
||||||
$default = array('scheme'=>false,'host'=>false,'port'=>false,'path'=>false,'query'=>false,'fragment'=>false);
|
$default = array('scheme'=>false,'host'=>false,'port'=>false,'path'=>false,'query'=>false,'fragment'=>false);
|
||||||
|
|||||||
Reference in New Issue
Block a user