Commit cd86036b authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 509794: Crash if setting a flag with Unicode characters in the name - Patch…

Bug 509794: Crash if setting a flag with Unicode characters in the name - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=bbaetz a=LpSolit
parent 3bc08bc5
...@@ -77,7 +77,8 @@ Attachment [% attidsummary %] ...@@ -77,7 +77,8 @@ Attachment [% attidsummary %]
[%- FILTER bullet = wrap(80) %] [%- FILTER bullet = wrap(80) %]
[% USE Bugzilla %] [% USE Bugzilla %]
[% IF Bugzilla.cgi.param("comment") && Bugzilla.cgi.param("comment").length > 0 %] [%-# .defined is necessary to avoid a taint issue in Perl < 5.10.1, see bug 509794. %]
[% IF Bugzilla.cgi.param("comment").defined && Bugzilla.cgi.param("comment").length > 0 %]
------- Additional Comments from [% user.identity %] ------- Additional Comments from [% user.identity %]
[%+ Bugzilla.cgi.param("comment") %] [%+ Bugzilla.cgi.param("comment") %]
[% 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