]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1139872: The URL in bugmail microdata has the '#' URI encoded, causing the links...
authorEd Morley <emorley@mozilla.com>
Thu, 12 Mar 2015 05:12:19 +0000 (13:12 +0800)
committerByron Jones <glob@mozilla.com>
Thu, 12 Mar 2015 05:12:38 +0000 (13:12 +0800)
r=glob,a=glob

template/en/default/email/bugmail.html.tmpl

index 458c1a6a429a59c0d992fffaed2447f4d172d20b..37252977a2710423e7fe55010cbf02768c0c3d0d 100644 (file)
       </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>