summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorEd Morley <emorley@mozilla.com>2015-03-12 06:12:19 +0100
committerByron Jones <glob@mozilla.com>2015-03-12 06:12:38 +0100
commit592e6fda4108c6241344d236a2c182bb9ce10d76 (patch)
tree66d3b6147432284989db899e6c4dc6efc195f1b2 /template/en
parente3fc6a004229a69645fdde6932df30caf022a3b5 (diff)
downloadbugzilla-592e6fda4108c6241344d236a2c182bb9ce10d76.tar.gz
bugzilla-592e6fda4108c6241344d236a2c182bb9ce10d76.tar.xz
Bug 1139872: The URL in bugmail microdata has the '#' URI encoded, causing the links to break
r=glob,a=glob
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/email/bugmail.html.tmpl7
1 files changed, 4 insertions, 3 deletions
diff --git a/template/en/default/email/bugmail.html.tmpl b/template/en/default/email/bugmail.html.tmpl
index 458c1a6a4..37252977a 100644
--- a/template/en/default/email/bugmail.html.tmpl
+++ b/template/en/default/email/bugmail.html.tmpl
@@ -65,10 +65,11 @@
</ul>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
- <link itemprop="url" href="[% urlbase FILTER html %]show_bug.cgi?id=[% "$bug.id$comment_anchor" FILTER uri %]"/>
- <meta itemprop="name" content="View [% terms.bug %]"/>
+ [%# Filtering of the URL param is not required & would break the URL when the comment anchor is set %]
+ <link itemprop="url" href="[% urlbase FILTER html %]show_bug.cgi?id=[% "$bug.id$comment_anchor" FILTER none %]">
+ <meta itemprop="name" content="View [% terms.bug %]">
</div>
- <meta itemprop="description" content="[% terms.Bugzilla %] [%+ terms.bug %] update notification"/>
+ <meta itemprop="description" content="[% terms.Bugzilla %] [%+ terms.bug %] update notification">
</div>
</body>
</html>