Bug 503980: show_bug.cgi doesn't properly escape <!-- inside bug summary - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@258038 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a390eb7e42
commit
1e4aaee2be
@ -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;
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user