diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-16 14:04:22 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-21 13:38:32 +0200 |
commit | 579822b6a5639ee608e11ed23760d481a4a78f4b (patch) | |
tree | 59129f958c51b19bfd2fea5d50107cf1f37feda8 /lib/public/AppFramework/Http/ContentSecurityPolicy.php | |
parent | f544c9fec9e24f7216aafdada680378044ddaf61 (diff) | |
download | nextcloud-server-579822b6a5639ee608e11ed23760d481a4a78f4b.tar.gz nextcloud-server-579822b6a5639ee608e11ed23760d481a4a78f4b.zip |
Add report-uri to CSP
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/AppFramework/Http/ContentSecurityPolicy.php')
-rw-r--r-- | lib/public/AppFramework/Http/ContentSecurityPolicy.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Http/ContentSecurityPolicy.php b/lib/public/AppFramework/Http/ContentSecurityPolicy.php index 02a52c6c49d..597069fdaaf 100644 --- a/lib/public/AppFramework/Http/ContentSecurityPolicy.php +++ b/lib/public/AppFramework/Http/ContentSecurityPolicy.php @@ -90,4 +90,7 @@ class ContentSecurityPolicy extends EmptyContentSecurityPolicy { /** @var array Domains from which web-workers can be loaded */ protected $allowedWorkerSrcDomains = []; + + /** @var array Locations to report violations to */ + protected $reportTo = []; } |