diff options
author | Ed Morley <emorley@mozilla.com> | 2015-03-10 16:04:26 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-03-10 16:04:26 +0100 |
commit | 5b9f16e2e746c7dfa775bb956caf70ced56275c6 (patch) | |
tree | 53f7df93adf6d6775a54ff7c89b8776bb1822fe6 /extensions | |
parent | 394c986139de2d75016c465b1280353acae9e615 (diff) | |
download | bugzilla-5b9f16e2e746c7dfa775bb956caf70ced56275c6.tar.gz bugzilla-5b9f16e2e746c7dfa775bb956caf70ced56275c6.tar.xz |
Bug 1139872: The URL in bugmail microdata has the '#' URI encoded, causing the links to break
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/BMO/template/en/default/email/bugmail.html.tmpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/BMO/template/en/default/email/bugmail.html.tmpl b/extensions/BMO/template/en/default/email/bugmail.html.tmpl index f66fee30c..f3d943d78 100644 --- a/extensions/BMO/template/en/default/email/bugmail.html.tmpl +++ b/extensions/BMO/template/en/default/email/bugmail.html.tmpl @@ -114,7 +114,8 @@ </div> <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"/> |