diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-01-30 16:31:47 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-01-30 16:34:37 +0100 |
commit | d49c7ad4fb1745600f33f0acc67fa39faca3e3e4 (patch) | |
tree | 471c551d91cc9209de841f188678ec71e09114cd /apps/files_trashbin | |
parent | f7c291e2768b83176aad6dacbf0139949c2208fd (diff) | |
download | nextcloud-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.php | 2 |
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 )); } } |