summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-04-12 19:27:19 +0200
committerGitHub <noreply@github.com>2018-04-12 19:27:19 +0200
commit99a5f75c6da5e1af5bf01a0b9e0aa8c88bcfdf35 (patch)
tree294f64a4e516d5d2f316a6906f484413d6ea187e
parent5a966f5a68136e17f7ab86d3be1cdf3ba5eacb9c (diff)
downloadbugzilla-99a5f75c6da5e1af5bf01a0b9e0aa8c88bcfdf35.tar.gz
bugzilla-99a5f75c6da5e1af5bf01a0b9e0aa8c88bcfdf35.tar.xz
Bug 1453697 - ensure error_message is escaped in opengraph description
-rw-r--r--extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl b/extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl
index dc0dc1ad9..51c388d42 100644
--- a/extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl
+++ b/extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl
@@ -14,7 +14,7 @@
<meta property="og:description"
content="[% bug.bug_status FILTER html %] ([% bug.assigned_to.login FILTER email FILTER html %]) in [% bug.product FILTER html %] - [% bug.component FILTER html %]. Last updated [% bug.delta_ts FILTER time('%Y-%m-%d') %].">
[% ELSIF error_message %]
-<meta property="og:description" content="[% error_message FILTER txt %]">
+<meta property="og:description" content="[% error_message FILTER txt FILTER html %]">
[% END %]
[% IF og_image %]
<meta property="og:image" content="[% urlbase FILTER none %][% og_image FILTER html %]">