Commit 11829ac0 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 842063: HTML injection is possible using the bug alias

r=dkl a=LpSolit
parent 2541a7dc
......@@ -13,12 +13,14 @@
# be overridden by the calling templates.
#%]
[% filtered_alias = bug.alias FILTER html %]
[% filtered_desc = bug.short_desc FILTER html %]
[% subheader = filtered_desc %]
[% filtered_timestamp = bug.delta_ts FILTER time %]
[% subheader = filtered_desc %]
[% title = "$terms.Bug $bug.bug_id – " %]
[% IF bug.alias != '' %]
[% title = title _ "($bug.alias) " %]
[% title = title _ "($filtered_alias) " %]
[% END %]
[% title = title _ filtered_desc %]
[% yui = ['autocomplete', 'calendar'] %]
......
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