diff options
author | icewind1991 <icewind1991@gmail.com> | 2013-04-24 08:17:42 -0700 |
---|---|---|
committer | icewind1991 <icewind1991@gmail.com> | 2013-04-24 08:17:42 -0700 |
commit | 3b576c5f779587f8a8f2bf52a2038edbb7e7104f (patch) | |
tree | 2e3cd3ce8e2394b2ed37e701b9192e4662c75e88 /lib | |
parent | a34350c803efd98094c05473f1c45b6792a9ceeb (diff) | |
parent | 4f96d7fb85fcde44bed5317c7cf42843d8085534 (diff) | |
download | nextcloud-server-3b576c5f779587f8a8f2bf52a2038edbb7e7104f.tar.gz nextcloud-server-3b576c5f779587f8a8f2bf52a2038edbb7e7104f.zip |
Merge pull request #3111 from owncloud/csp-audio
Allow loading of external media ressources
Diffstat (limited to 'lib')
-rw-r--r-- | lib/template.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/template.php b/lib/template.php index ad875359d7f..2f535335648 100644 --- a/lib/template.php +++ b/lib/template.php @@ -203,7 +203,8 @@ class OC_Template{ .'style-src \'self\' \'unsafe-inline\'; ' .'frame-src *; ' .'img-src *; ' - .'font-src \'self\' data:'); + .'font-src \'self\' data:; ' + .'media-src *'); header('Content-Security-Policy:'.$policy); // Standard $this->findTemplate($name); |