Commit 592e6fda authored by Ed Morley's avatar Ed Morley Committed by Byron Jones

Bug 1139872: The URL in bugmail microdata has the '#' URI encoded, causing the links to break

r=glob,a=glob
parent e3fc6a00
...@@ -65,10 +65,11 @@ ...@@ -65,10 +65,11 @@
</ul> </ul>
<div itemscope itemtype="http://schema.org/EmailMessage"> <div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction"> <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 %]
<meta itemprop="name" content="View [% terms.bug %]"/> <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> </div>
<meta itemprop="description" content="[% terms.Bugzilla %] [%+ terms.bug %] update notification"/> <meta itemprop="description" content="[% terms.Bugzilla %] [%+ terms.bug %] update notification">
</div> </div>
</body> </body>
</html> </html>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment