diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-07 13:13:34 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-07 15:07:06 +0100 |
commit | 64244e1a4fe3d287fc7764e9f64c65777384fff0 (patch) | |
tree | 8aa09a32117438094d7dfa22c4e183afd3974338 /lib/public/AppFramework | |
parent | b820803cf1def6a6bfe398d1564dd0d9a3a3a9e0 (diff) | |
download | nextcloud-server-64244e1a4fe3d287fc7764e9f64c65777384fff0.tar.gz nextcloud-server-64244e1a4fe3d287fc7764e9f64c65777384fff0.zip |
CSP: Allow fonts to be provided in data
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/AppFramework')
-rw-r--r-- | lib/public/AppFramework/Http/ContentSecurityPolicy.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Http/ContentSecurityPolicy.php b/lib/public/AppFramework/Http/ContentSecurityPolicy.php index e9ecf000364..68aa4b5ddb4 100644 --- a/lib/public/AppFramework/Http/ContentSecurityPolicy.php +++ b/lib/public/AppFramework/Http/ContentSecurityPolicy.php @@ -80,6 +80,7 @@ class ContentSecurityPolicy extends EmptyContentSecurityPolicy { /** @var array Domains from which fonts can be loaded */ protected $allowedFontDomains = [ '\'self\'', + 'data:', ]; /** @var array Domains from which web-workers and nested browsing content can load elements */ protected $allowedChildSrcDomains = []; |