Commit 918a8c24 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 503980: show_bug.cgi doesn't properly escape <!-- inside bug summary - Patch…

Bug 503980: show_bug.cgi doesn't properly escape <!-- inside bug summary - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
parent 7bc9c2e3
......@@ -520,6 +520,7 @@ sub create {
$var =~ s/\n/\\n/g;
$var =~ s/\r/\\r/g;
$var =~ s/\@/\\x40/g; # anti-spam for email addresses
$var =~ s/</\\x3c/g;
return $var;
},
......
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