pull/440/merge
qkqpttgf 2021-10-06 16:32:23 +08:00 committed by GitHub
parent 9205015782
commit 0a0162abe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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 . "<br>\n";
}
//$path = str_replace('%20','%2520',$path);
$path = str_replace('+','%2B',$path);
$path = str_replace('&','&amp;',path_format(urldecode($path))) ;
//echo $path . "<br>\n";
$path = path_format(urldecode($path));
//$path = str_replace('&','&amp;', $path) ;
//$path = str_replace('%20',' ',$path);
$path = str_replace('#','%23',$path);
$p_path='';