From a90089c79200c4665e28acb07215f08c2039c1a1 Mon Sep 17 00:00:00 2001 From: Bartek Przybylski Date: Wed, 6 Jun 2012 22:20:56 +0200 Subject: [PATCH] hack for file download --- apps/gallery/lib/tiles.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/gallery/lib/tiles.php b/apps/gallery/lib/tiles.php index c2d7fede78..3805b6dd25 100644 --- a/apps/gallery/lib/tiles.php +++ b/apps/gallery/lib/tiles.php @@ -96,7 +96,9 @@ class TileSingle extends TileBase { } public function get($extra = '') { - return ''; + // !HACK! file path needs to be encoded twice because files app decode twice url, so any special chars like + or & in filename + // !HACK! will result in failing of opening them + return ''; } public function getMiniatureSrc() {