diff --git a/list.php b/list.php index ffd0256..6e97442 100644 --- a/list.php +++ b/list.php @@ -40,7 +40,7 @@ foreach($files as $f) { echo ""; - echo "get_downloads_folder().'/'.$f["name"]."\" download>".$f["name"].""; + echo "get_downloads_folder()).'/'.urlencode($f["name"])."\" download>".$f["name"].""; echo "".$f["size"].""; echo "Delete"; echo ""; diff --git a/logs.php b/logs.php index a67ad4d..7454d25 100644 --- a/logs.php +++ b/logs.php @@ -41,7 +41,7 @@ foreach($files as $f) { echo ""; - echo "get_logs_folder().'/'.$f["name"]."\" target=\"_blank\">".$f["name"].""; + echo "get_logs_folder()).'/'.urlencode($f["name"])."\" target=\"_blank\">".$f["name"].""; echo "".$f["size"].""; echo "Delete"; echo "";