diff --git a/platform/AliyunFC.php b/platform/AliyunFC.php index 02dba5b..09c5f49 100644 --- a/platform/AliyunFC.php +++ b/platform/AliyunFC.php @@ -46,6 +46,7 @@ function GetPathSetting($event, $context) if ($path=='/'||$path=='') { $_SERVER['base_path'] = $tmp; } else { + $tmp = str_replace('&', '&', $tmp); while ($tmp!=urldecode($tmp)) $tmp = urldecode($tmp); $tmp1 = urldecode($event['path']); while ($tmp1!=urldecode($tmp1)) $tmp1 = urldecode($tmp1);