nextcloud/tests/settings/controller
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
..
groupscontrollertest.php React on other statuscodes than 200 2014-12-08 16:35:13 +01:00
logsettingscontrollertest.php Add unit tests 2015-01-30 14:29:46 +01:00
mailsettingscontrollertest.php Use setConfigs() instead of calling setConfig() multiple times 2015-01-23 14:52:21 +01:00
securitysettingscontrollertest.php Let users configure security headers in their Webserver 2015-03-02 19:07:46 +01:00
userscontrollertest.php fixing unit tests in UsersControllerTest 2015-02-16 19:45:40 +01:00