From 6e40e841bcf21fb80bd8432baeaf8def494e8af6 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Tue, 5 Aug 2014 16:45:43 +0100 Subject: Ensure that URLs are correctly encoded --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 3a776e5..982685e 100644 --- a/index.php +++ b/index.php @@ -295,7 +295,7 @@ for ($i = 0; $i < count($listing); $i++) { $spaces = $spaces . " "; } - echo '[IMG] ' . $preview . '' . $spaces . date("d-M-Y H:i", $listing[$i]['modified']) . ' ' . size_readable($listing[$i]['size'], null, "bi") . ' ' . "\n"; + echo '[IMG] ' . $preview . '' . $spaces . date("d-M-Y H:i", $listing[$i]['modified']) . ' ' . size_readable($listing[$i]['size'], null, "bi") . ' ' . "\n"; } ?>
@@ -317,7 +317,7 @@ for ($i = 0; $i < count($listing); $i++) { } } else if ($_GET['format'] == "light") { for ($i = 0; $i < count($listing); $i++) { - echo '' . $listing[$i]['filename'] . '
'; + echo '' . $listing[$i]['filename'] . '
'; } } ?> -- cgit v1.2.3