Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-04-24 18:45:51 +0400
committerLukas Reschke <lukas@statuscode.ch>2013-04-24 19:20:00 +0400
commit9894145f8ddc484e4624ded21dd68f04afdbb990 (patch)
tree9277706e9c0b2a9d48e1c8342e6150582fba347d /lib/template.php
parentdeba9720935d3e54cd75a71575d398c6e22ef160 (diff)
Allow loading of external media ressources
Diffstat (limited to 'lib/template.php')
-rw-r--r--lib/template.php3
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);