diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-27 20:20:32 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-27 20:20:32 -0700 |
commit | 051a7ae27a49c7a5687c2ee32b92962d490218de (patch) | |
tree | 2b9fc0ffd39fff9707c65903249255de3270952d /modules/gallery/controllers/file_proxy.php | |
parent | 145a3f80ce957267fdd6f6227922847b116f2e72 (diff) |
Refix #812, by removing the decoding in file_proxy instead of not encoding in Item_Model when creating the relative_path_cache.
Diffstat (limited to 'modules/gallery/controllers/file_proxy.php')
-rw-r--r-- | modules/gallery/controllers/file_proxy.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/gallery/controllers/file_proxy.php b/modules/gallery/controllers/file_proxy.php index 8cb90c50..acfd6eb9 100644 --- a/modules/gallery/controllers/file_proxy.php +++ b/modules/gallery/controllers/file_proxy.php @@ -32,10 +32,6 @@ class File_Proxy_Controller extends Controller { $request_uri = $this->input->server("REQUEST_URI"); $request_uri = preg_replace("/\?.*/", "", $request_uri); - // Unescape %7E (~), %20 ( ) and %27 (') - // @todo: figure out why we have to do this and unescape everything appropriate - $request_uri = str_replace(array("%7E", "%20", "%27"), array("~", " ", "'"), $request_uri); - // var_uri: http://example.com/gallery3/var/ $var_uri = url::file("var/"); |