]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 503980: show_bug.cgi doesn't properly escape <!-- inside bug summary - Patch...
authorlpsolit%gmail.com <>
Mon, 10 Aug 2009 20:20:25 +0000 (20:20 +0000)
committerlpsolit%gmail.com <>
Mon, 10 Aug 2009 20:20:25 +0000 (20:20 +0000)
Bugzilla/Template.pm

index f90e472b55fb1955f31b00240dad4fa50680e635..49954a5215601470f4e927a088d33ae9f0c2b957 100644 (file)
@@ -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;
             },