summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/controllers/file_proxy.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/controllers/file_proxy.php b/core/controllers/file_proxy.php
index d903be32..f3c5f109 100644
--- a/core/controllers/file_proxy.php
+++ b/core/controllers/file_proxy.php
@@ -30,6 +30,7 @@ class File_Proxy_Controller extends Controller {
public function __call($function, $args) {
// request_uri: http://example.com/gallery3/var/trunk/albums/foo/bar.jpg
$request_uri = $this->input->server("REQUEST_URI");
+ $request_uri = preg_replace("/\?.*/", "", $request_uri);
// var_uri: http://example.com/gallery3/var/
$var_uri = url::file("var/");