diff --git a/common.php b/common.php index f12a28b..a09d7d4 100644 --- a/common.php +++ b/common.php @@ -1921,11 +1921,11 @@ function render_list($path = '', $files = []) //$htmlcontent = fetch_files(spurlencode(path_format(urldecode($path) . '/index.html'), '/'))['content']; $htmlcontent = get_content(spurlencode(path_format(urldecode($path) . '/index.html'), '/'))['content']; return output($htmlcontent['body'], $htmlcontent['stat']); - }//echo $path . "
\n"; + } //$path = str_replace('%20','%2520',$path); $path = str_replace('+','%2B',$path); - $path = str_replace('&','&',path_format(urldecode($path))) ; - //echo $path . "
\n"; + $path = path_format(urldecode($path)); + //$path = str_replace('&','&', $path) ; //$path = str_replace('%20',' ',$path); $path = str_replace('#','%23',$path); $p_path='';