diff options
author | blizzz <blizzz@owncloud.com> | 2012-10-29 09:06:14 -0700 |
---|---|---|
committer | blizzz <blizzz@owncloud.com> | 2012-10-29 09:06:14 -0700 |
commit | ad86ce9fcba4876f764bbb15f9352f6b600ce4c4 (patch) | |
tree | c450fa4caed4dce62b8d1f7002031069b0d7faef | |
parent | ac784baef689ca5c0f22c8acdce8e13f6d918101 (diff) | |
parent | b563935498ac5c6158baa79ddd3fcbf06e359847 (diff) | |
download | nextcloud-server-ad86ce9fcba4876f764bbb15f9352f6b600ce4c4.tar.gz nextcloud-server-ad86ce9fcba4876f764bbb15f9352f6b600ce4c4.zip |
Merge pull request #141 from denis-b/patch-1
fix dirnames containing "+" not displayed
-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 3441e371a31..8b8b0fd7610 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_Filesystem::is_dir($dir.'/')) { header('Location: '.$_SERVER['SCRIPT_NAME'].''); |