nextcloud/lib
Lukas Reschke bbd5f28415 Let users configure security headers in their Webserver
Doing this in the PHP code is not the right approach for multiple reasons:

1. A bug in the PHP code prevents them from being added to the response.
2. They are only added when something is served via PHP and not in other cases (that makes for example the newest IE UXSS which is not yet patched by Microsoft exploitable on ownCloud)
3. Some headers such as the Strict-Transport-Security might require custom modifications by administrators. This was not possible before and lead to buggy situations.

This pull request moves those headers out of the PHP code and adds a security check to the admin settings performed via JS.
2015-03-02 19:07:46 +01:00
..
l10n [tx-robot] updated from transifex 2015-03-01 01:54:38 -05:00
private Let users configure security headers in their Webserver 2015-03-02 19:07:46 +01:00
public Merge pull request #13616 from owncloud/streamresponse 2015-02-27 15:43:01 +01:00
repair Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
autoloader.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
base.php Let users configure security headers in their Webserver 2015-03-02 19:07:46 +01:00