try fix & in base_path in FC
This commit is contained in:
@@ -46,6 +46,7 @@ function GetPathSetting($event, $context)
|
|||||||
if ($path=='/'||$path=='') {
|
if ($path=='/'||$path=='') {
|
||||||
$_SERVER['base_path'] = $tmp;
|
$_SERVER['base_path'] = $tmp;
|
||||||
} else {
|
} else {
|
||||||
|
$tmp = str_replace('&', '&', $tmp);
|
||||||
while ($tmp!=urldecode($tmp)) $tmp = urldecode($tmp);
|
while ($tmp!=urldecode($tmp)) $tmp = urldecode($tmp);
|
||||||
$tmp1 = urldecode($event['path']);
|
$tmp1 = urldecode($event['path']);
|
||||||
while ($tmp1!=urldecode($tmp1)) $tmp1 = urldecode($tmp1);
|
while ($tmp1!=urldecode($tmp1)) $tmp1 = urldecode($tmp1);
|
||||||
|
|||||||
Reference in New Issue
Block a user