diff options
author | Luke Bratch <luke@bratch.co.uk> | 2015-12-05 20:44:52 +0000 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2015-12-05 20:44:52 +0000 |
commit | 0247aa5c89198c0dadbcce699b398fac1e783b4b (patch) | |
tree | ce28efc845e9b2d654bba773170b4b065d133391 | |
parent | c2139100d2cdf5ce16d9c75ca64ebf85c59a3d14 (diff) |
Use URL encoding on the output
-rw-r--r-- | search.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ try { $match = true; } if ($match) { - $results[] = $config["url"] . "/" . $upload->filename; + $results[] = $config["url"] . "/" . rawurlencode($upload->filename); } } |