Typo + Line breaks
This commit is contained in:
parent
b04d95b116
commit
387d46cb98
|
@ -214,11 +214,9 @@ class OC {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This function adds some security related headers to all requests
|
* This function adds some security related headers to all requests served via base.php
|
||||||
* served via base.php
|
* The implementation of this function as hto happen here to ensure that all third-party
|
||||||
* The implementation of this function as to happen here to ensure that
|
* components (e.g. SabreDAV) also benefit from this headers.
|
||||||
* all third-party components (e.g. SabreDAV) also benefit from this
|
|
||||||
* headers
|
|
||||||
*/
|
*/
|
||||||
public static function addSecurityHeaders() {
|
public static function addSecurityHeaders() {
|
||||||
header('X-XSS-Protection: 1; mode=block'); // Enforce browser based XSS filters
|
header('X-XSS-Protection: 1; mode=block'); // Enforce browser based XSS filters
|
||||||
|
|
Loading…
Reference in New Issue