diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-11-23 16:20:56 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-11-23 16:20:56 +0100 |
commit | 555dec2d92316e47edd775d4e63ffe60fb0eca6b (patch) | |
tree | 7cde08c5ce382fae2acdd2434b208ca956d48ec8 /apps/files/index.php | |
parent | 95057e727d438098bec050baf997a7489563a04e (diff) | |
parent | 67f9f079ae848116d5eb4306d35456fe0e34f5e4 (diff) | |
download | nextcloud-server-555dec2d92316e47edd775d4e63ffe60fb0eca6b.tar.gz nextcloud-server-555dec2d92316e47edd775d4e63ffe60fb0eca6b.zip |
merge master into filesystem
Diffstat (limited to 'apps/files/index.php')
-rw-r--r-- | apps/files/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/index.php b/apps/files/index.php index 54c74167803..a88e1f00741 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'] ) ? rawurldecode(stripslashes($_GET['dir'])) : ''; +$dir = isset( $_GET['dir'] ) ? stripslashes($_GET['dir']) : ''; // Redirect if directory does not exist if(!\OC\Files\Filesystem::is_dir($dir.'/')) { header('Location: '.$_SERVER['SCRIPT_NAME'].''); |