summaryrefslogtreecommitdiff
path: root/help3xsl/online_transform.xsl
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-01-09 12:44:59 -0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-01-10 01:14:56 +0100
commit2c7cfc527a05ef757ab3ecfd6ab5a2582a104680 (patch)
tree8b95286bc2ab931175febce9c04ae191254ffab7 /help3xsl/online_transform.xsl
parent03d3affe49661345c23168f1f7b59e781753b08c (diff)
Add Content-Security-Policies in new Help pages
Change-Id: I115fc16fbf4b8284bfedc735761434bb586f0355 Reviewed-on: https://gerrit.libreoffice.org/47660 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/online_transform.xsl')
-rw-r--r--help3xsl/online_transform.xsl1
1 files changed, 1 insertions, 0 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index ab787411c4..31295b51d3 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -120,6 +120,7 @@
<head>
<base href="{$install}"/>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
+ <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval' piwik.documentfoundation.org *.google.com *.googleapis.com"/>
<title><xsl:value-of select="$titleL10N"/></title>
<link rel="shortcut icon" href="{$productversion}/media/navigation/favicon.ico" />
<link type="text/css" href="{$productversion}/normalize.css" rel="Stylesheet" />