diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2018-01-09 12:44:59 -0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-08-07 17:51:08 +0200 |
commit | 6b80c88f37649171e2fb488ece722f57a57eb093 (patch) | |
tree | 7b7dfab9955267875c3c5c734679645d5560f0c8 /help3xsl/online_transform.xsl | |
parent | 7754ded44fd9eb7b8530a8f10c0cb1cdc27f0a97 (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.xsl | 1 |
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" /> |