diff options
author | Georg Ehrke <developer@georgehrke.com> | 2014-01-11 11:51:28 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-01-30 16:32:45 +0100 |
commit | c5742520e132dc072bd8e5f69e5568d5c16c3f1e (patch) | |
tree | 79f60d2409156263b428052022026b70a6c81640 /apps/files_trashbin/ajax | |
parent | 299a8285bd2601ccbac988b2e3e9b067d47921a2 (diff) | |
download | nextcloud-server-c5742520e132dc072bd8e5f69e5568d5c16c3f1e.tar.gz nextcloud-server-c5742520e132dc072bd8e5f69e5568d5c16c3f1e.zip |
don't urldecode get var, php does this automatically
Diffstat (limited to 'apps/files_trashbin/ajax')
-rw-r--r-- | apps/files_trashbin/ajax/preview.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/ajax/preview.php b/apps/files_trashbin/ajax/preview.php index ce432f4d14e..d003a9a0791 100644 --- a/apps/files_trashbin/ajax/preview.php +++ b/apps/files_trashbin/ajax/preview.php @@ -11,7 +11,7 @@ if(!\OC_App::isEnabled('files_trashbin')){ exit; } -$file = array_key_exists('file', $_GET) ? (string) urldecode($_GET['file']) : ''; +$file = array_key_exists('file', $_GET) ? (string) $_GET['file'] : ''; $maxX = array_key_exists('x', $_GET) ? (int) $_GET['x'] : '44'; $maxY = array_key_exists('y', $_GET) ? (int) $_GET['y'] : '44'; $scalingUp = array_key_exists('scalingup', $_GET) ? (bool) $_GET['scalingup'] : true; |