summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/controllers/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index c2af86fe9..24ecfcf37 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -85,7 +85,7 @@ class File extends CI_Controller {
function _download()
{
$id = $this->uri->segment(1);
- $mode = $this->uri->segment(2);
+ $mode = urldecode($this->uri->segment(2));
$filedata = $this->mfile->get_filedata($id);
$file = $this->mfile->file($filedata['hash']);