From: Bartek Przybylski Date: Wed, 6 Jun 2012 20:20:56 +0000 (+0200) Subject: hack for file download X-Git-Tag: v4.5.0beta1~74^2~423^2~24 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a90089c79200c4665e28acb07215f08c2039c1a1;p=nextcloud-server.git hack for file download --- diff --git a/apps/gallery/lib/tiles.php b/apps/gallery/lib/tiles.php index c2d7fede786..3805b6dd25c 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() {