From 0247aa5c89198c0dadbcce699b398fac1e783b4b Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sat, 5 Dec 2015 20:44:52 +0000 Subject: Use URL encoding on the output --- search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'search.php') diff --git a/search.php b/search.php index 6bfa874..db4f9e1 100644 --- a/search.php +++ b/search.php @@ -71,7 +71,7 @@ try { $match = true; } if ($match) { - $results[] = $config["url"] . "/" . $upload->filename; + $results[] = $config["url"] . "/" . rawurlencode($upload->filename); } } -- cgit v1.2.3