]> source.dussan.org Git - nextcloud-server.git/commit
Split up security middleware 16582/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Sat, 27 Jul 2019 14:04:51 +0000 (16:04 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Sat, 27 Jul 2019 14:11:45 +0000 (16:11 +0200)
commit37a4282c7ae27c518ce7143be491a00a651e4f4a
tree47ac0e32a0e7725134a7ce57ea1babef84b24961
parent1ec98af3e028f5aa8591bda26d5dac96dfd66f43
Split up security middleware

With upcoming work for the feature policy header. Splitting this in
smaller classes that just do 1 thing makes sense.

I rather have a few small classes that are tiny and do 1 thing right
(and we all understand what is going on) than have big ones.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/composer/composer/autoload_classmap.php
lib/composer/composer/autoload_static.php
lib/private/AppFramework/DependencyInjection/DIContainer.php
lib/private/AppFramework/Middleware/Security/CSPMiddleware.php [new file with mode: 0644]
lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php
tests/lib/AppFramework/Middleware/Security/CSPMiddlewareTest.php [new file with mode: 0644]
tests/lib/AppFramework/Middleware/Security/SecurityMiddlewareTest.php