[Pkg-owncloud-commits] [owncloud] 23/73: Add a missing exit();

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:09:01 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.0.10
in repository owncloud.

commit 4984a72d0dc88d819c87855640e18368f98cc69e
Author: Lukas Reschke <lukas at statuscode.ch>
Date:   Sat Aug 18 14:57:19 2012 +0200

    Add a missing exit();
---
 apps/files/index.php |    1 +
 1 file changed, 1 insertion(+)

diff --git a/apps/files/index.php b/apps/files/index.php
index 077187f..f6a1c4b 100644
--- a/apps/files/index.php
+++ b/apps/files/index.php
@@ -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();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list