summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorEd Morley <emorley@mozilla.com>2015-03-10 07:55:08 +0100
committerByron Jones <glob@mozilla.com>2015-03-10 07:55:08 +0100
commit63bada08f443c42f225f3d06d8423dcea45d6947 (patch)
tree867e8e6db95c3796cb9e69472dd74b15df1df585 /template
parentd63c8a9b6c4cf5a750dd674318b1dd584bb0896c (diff)
downloadbugzilla-63bada08f443c42f225f3d06d8423dcea45d6947.tar.gz
bugzilla-63bada08f443c42f225f3d06d8423dcea45d6947.tar.xz
Bug 1139872: The URL in bugmail microdata has the '#' URI encoded, causing the links to break
Diffstat (limited to 'template')
-rw-r--r--template/en/default/email/bugmail.html.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/en/default/email/bugmail.html.tmpl b/template/en/default/email/bugmail.html.tmpl
index 65b449232..04a79debf 100644
--- a/template/en/default/email/bugmail.html.tmpl
+++ b/template/en/default/email/bugmail.html.tmpl
@@ -74,7 +74,8 @@
</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 %]"/>
+ [%# 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"/>