diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-04-12 19:27:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-12 19:27:19 +0200 |
commit | 99a5f75c6da5e1af5bf01a0b9e0aa8c88bcfdf35 (patch) | |
tree | 294f64a4e516d5d2f316a6906f484413d6ea187e | |
parent | 5a966f5a68136e17f7ab86d3be1cdf3ba5eacb9c (diff) | |
download | bugzilla-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.tmpl | 2 |
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 %]"> |