[Pkg-owncloud-commits] [owncloud] 05/67: Correct indentation
David Prévot
taffit at alioth.debian.org
Fri Nov 8 23:10:30 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v4.5.1
in repository owncloud.
commit 4f8b8a8a595d11a0b9a7860f404cd03927b9b03b
Author: Lukas Reschke <lukas at statuscode.ch>
Date: Wed Oct 10 19:01:32 2012 +0200
Correct indentation
---
lib/template.php | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/lib/template.php b/lib/template.php
index fb81ec6..1c52993 100644
--- a/lib/template.php
+++ b/lib/template.php
@@ -159,9 +159,11 @@ class OC_Template{
$this->vars['requestlifespan'] = OC_Util::$callLifespan;
$parts = explode('/', $app); // fix translation when app is something like core/lostpassword
$this->l10n = OC_L10N::get($parts[0]);
- header('X-Frame-Options: Sameorigin');
- header('X-XSS-Protection: 1; mode=block');
- header('X-Content-Type-Options: nosniff');
+
+ // Some headers to enhance security
+ header('X-Frame-Options: Sameorigin');
+ header('X-XSS-Protection: 1; mode=block');
+ header('X-Content-Type-Options: nosniff');
$this->findTemplate($name);
}
--
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