summaryrefslogtreecommitdiffstats
path: root/apps/files/index.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-30 22:59:55 +0100
committerRobin Appelman <icewind@owncloud.com>2012-10-30 22:59:55 +0100
commit6e9e2634978f08494a13bb3c5185032fc0ed7792 (patch)
tree8f0cf5eef65c29715c84b2c253834a2fa047bbd7 /apps/files/index.php
parent890fbb82993db294489fb6ecf14d91d7652763d1 (diff)
parent6738275b01abf514d32171da604da8d63a2808e0 (diff)
downloadnextcloud-server-6e9e2634978f08494a13bb3c5185032fc0ed7792.tar.gz
nextcloud-server-6e9e2634978f08494a13bb3c5185032fc0ed7792.zip
merge master into filesystem
Diffstat (limited to 'apps/files/index.php')
-rw-r--r--apps/files/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/index.php b/apps/files/index.php
index 43a559d034e..cdb88ab83f2 100644
--- a/apps/files/index.php
+++ b/apps/files/index.php
@@ -36,7 +36,7 @@ if(!isset($_SESSION['timezone'])) {
}
OCP\App::setActiveNavigationEntry( 'files_index' );
// Load the files
-$dir = isset( $_GET['dir'] ) ? urldecode(stripslashes($_GET['dir'])) : '';
+$dir = isset( $_GET['dir'] ) ? rawurldecode(stripslashes($_GET['dir'])) : '';
// Redirect if directory does not exist
if(!\OC\Files\Filesystem::is_dir($dir.'/')) {
header('Location: '.$_SERVER['SCRIPT_NAME'].'');