diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-02-14 14:34:20 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-02-14 14:34:20 +0100 |
commit | d7f454771769d37e06136332f15695a98275f0f5 (patch) | |
tree | 687d4cee17b79d16ed3060c94fe9a896a9883aa8 /core/ajax | |
parent | 595b908b740d36fba9aeeaa51e9c533969efaf0c (diff) | |
parent | d49c7ad4fb1745600f33f0acc67fa39faca3e3e4 (diff) | |
download | nextcloud-server-d7f454771769d37e06136332f15695a98275f0f5.tar.gz nextcloud-server-d7f454771769d37e06136332f15695a98275f0f5.zip |
Merge pull request #6726 from owncloud/fix_6630
don't urldecode get var, php does this automatically
Diffstat (limited to 'core/ajax')
-rw-r--r-- | core/ajax/preview.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/preview.php b/core/ajax/preview.php index af0f0493f4c..a1267d6f5cf 100644 --- a/core/ajax/preview.php +++ b/core/ajax/preview.php @@ -7,7 +7,7 @@ */ \OC_Util::checkLoggedIn(); -$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'] : '36'; $maxY = array_key_exists('y', $_GET) ? (int) $_GET['y'] : '36'; $scalingUp = array_key_exists('scalingup', $_GET) ? (bool) $_GET['scalingup'] : true; |