diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-05-24 21:42:37 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-07-08 20:35:15 +0200 |
commit | 5ac857bcdcd204d6dbfd86f8a09d241661cdd2c5 (patch) | |
tree | 4a02f63a1f9a2ced4e3565e97ad628c612aef5c9 /lib/public/IServerContainer.php | |
parent | eb092bbdc74fd10253e7a75850d5725df27daa25 (diff) | |
download | nextcloud-server-5ac857bcdcd204d6dbfd86f8a09d241661cdd2c5.tar.gz nextcloud-server-5ac857bcdcd204d6dbfd86f8a09d241661cdd2c5.zip |
Add an event to edit the CSP
This introduces and event that can be listend to when we actually use
the CSP. This means that apps no longer have to always inject their CSP
but only do so when it is required. Yay for being lazy.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/IServerContainer.php')
-rw-r--r-- | lib/public/IServerContainer.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/IServerContainer.php b/lib/public/IServerContainer.php index a3e494479b7..bcdb6e6c9f5 100644 --- a/lib/public/IServerContainer.php +++ b/lib/public/IServerContainer.php @@ -534,6 +534,7 @@ interface IServerContainer extends IContainer { /** * @return IContentSecurityPolicyManager * @since 9.0.0 + * @deprecated 17.0.0 Use the AddContentSecurityPolicyEvent */ public function getContentSecurityPolicyManager(); |