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_sharing/templates/public.php | |
parent | f7c291e2768b83176aad6dacbf0139949c2208fd (diff) | |
download | nextcloud-server-d49c7ad4fb1745600f33f0acc67fa39faca3e3e4.tar.gz nextcloud-server-d49c7ad4fb1745600f33f0acc67fa39faca3e3e4.zip |
Fixed double file encoding for previews
Diffstat (limited to 'apps/files_sharing/templates/public.php')
-rw-r--r-- | apps/files_sharing/templates/public.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index 3ddaf4446df..3eb84ce1672 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -35,7 +35,7 @@ <?php else: ?> <div id="imgframe"> <?php $size = \OC\Preview::isMimeSupported($_['mimetype']) ? 500 : 128 ?> - <img src="<?php p(OCP\Util::linkToRoute( 'core_ajax_public_preview', array('x' => $size, 'y' => $size, 'file' => urlencode($_['directory_path']), 't' => $_['dirToken']))); ?>" class="publicpreview"/> + <img src="<?php p(OCP\Util::linkToRoute( 'core_ajax_public_preview', array('x' => $size, 'y' => $size, 'file' => $_['directory_path'], 't' => $_['dirToken']))); ?>" class="publicpreview"/> </div> <?php endif; ?> <div class="directDownload"> |