aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-01-30 16:31:47 +0100
committerVincent Petry <pvince81@owncloud.com>2014-01-30 16:34:37 +0100
commitd49c7ad4fb1745600f33f0acc67fa39faca3e3e4 (patch)
tree471c551d91cc9209de841f188678ec71e09114cd /apps/files_trashbin
parentf7c291e2768b83176aad6dacbf0139949c2208fd (diff)
downloadnextcloud-server-d49c7ad4fb1745600f33f0acc67fa39faca3e3e4.tar.gz
nextcloud-server-d49c7ad4fb1745600f33f0acc67fa39faca3e3e4.zip
Fixed double file encoding for previews
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/lib/trashbin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/trashbin.php b/apps/files_trashbin/lib/trashbin.php
index 7544980e071..9b7d578c990 100644
--- a/apps/files_trashbin/lib/trashbin.php
+++ b/apps/files_trashbin/lib/trashbin.php
@@ -996,6 +996,6 @@ class Trashbin {
}
public static function preview_icon($path) {
- return \OC_Helper::linkToRoute( 'core_ajax_trashbin_preview', array('x' => 36, 'y' => 36, 'file' => urlencode($path) ));
+ return \OC_Helper::linkToRoute( 'core_ajax_trashbin_preview', array('x' => 36, 'y' => 36, 'file' => $path ));
}
}