]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add a missing exit();
authorLukas Reschke <lukas@statuscode.ch>
Sat, 18 Aug 2012 12:57:19 +0000 (14:57 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Fri, 24 Aug 2012 13:00:53 +0000 (15:00 +0200)
apps/files/index.php

index 077187fbc136077b6503dd938771cb0673e79572..f6a1c4bfb4c9cecf67217911d00ba54e36414c43 100644 (file)
@@ -40,6 +40,7 @@ $dir = isset( $_GET['dir'] ) ? stripslashes($_GET['dir']) : '';
 // Redirect if directory does not exist
 if(!OC_Filesystem::is_dir($dir.'/')) {
        header('Location: '.$_SERVER['SCRIPT_NAME'].'');
+       exit();
 }
 
 $files = array();