Commit 6e191c3b authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 417146: Sanitycheck recurses into global/message.txt.tmpl - Patch by…

Bug 417146: Sanitycheck recurses into global/message.txt.tmpl - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=justdave a=LpSolit
parent 56848ce8
...@@ -281,7 +281,12 @@ ...@@ -281,7 +281,12 @@
[% BLOCK bug_list %] [% BLOCK bug_list %]
[% FOREACH bug_id = badbugs %] [% FOREACH bug_id = badbugs %]
[%+ bug_id FILTER bug_link(bug_id) FILTER none %][% ", " IF !loop.last %] [%# Do not use FILTER bug_link() here, because bug_link() calls get_text()
# which itself calls this template again, generating a recursion error.
# I doubt having a tooltip with the bug status and summary is so
# important here anyway, as you can click the "(as buglist)" link. %]
<a href="show_bug.cgi?id=[% bug_id FILTER url_quote %]">[% bug_id FILTER html %]</a>
[% ", " IF !loop.last %]
[% END %] [% END %]
(<a href="buglist.cgi?bug_id=[% badbugs.join(",") FILTER url_quote %]">as buglist</a>). (<a href="buglist.cgi?bug_id=[% badbugs.join(",") FILTER url_quote %]">as buglist</a>).
[% END %] [% END %]
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