summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/base.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/base.php b/lib/base.php
index 34baba69d4c..5fb7b0b4675 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -214,11 +214,9 @@ class OC {
}
/*
- * This function adds some security related headers to all requests
- * served via base.php
- * The implementation of this function as to happen here to ensure that
- * all third-party components (e.g. SabreDAV) also benefit from this
- * headers
+ * This function adds some security related headers to all requests served via base.php
+ * The implementation of this function as hto happen here to ensure that all third-party
+ * components (e.g. SabreDAV) also benefit from this headers.
*/
public static function addSecurityHeaders() {
header('X-XSS-Protection: 1; mode=block'); // Enforce browser based XSS filters