aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorendico%mozilla.org <>2001-03-09 09:49:41 +0000
committerendico%mozilla.org <>2001-03-09 09:49:41 +0000
commit84298cd109d6419321e4fa043442a46efea9f1fe (patch)
treebe82d4bf1ef80b9bd507809e5a57eda1e6ce752a /show_bug.cgi
parentRefix for bug 25693: more accurate regexp to find duplicates when generating ... (diff)
downloadbugzilla-84298cd109d6419321e4fa043442a46efea9f1fe.tar.gz
bugzilla-84298cd109d6419321e4fa043442a46efea9f1fe.tar.bz2
bugzilla-84298cd109d6419321e4fa043442a46efea9f1fe.zip
Patch from Jake <jake@acutex.net> for bugs 22041 and 25693 which had the same problem. HTML meta characters in the summary were not being quoted before being printed to html.
Diffstat (limited to 'show_bug.cgi')
-rwxr-xr-xshow_bug.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/show_bug.cgi b/show_bug.cgi
index 12a6755c7..1dd1f8820 100755
--- a/show_bug.cgi
+++ b/show_bug.cgi
@@ -50,6 +50,7 @@ GetVersionTable();
SendSQL("select short_desc from bugs where bug_id = $::FORM{'id'}");
my $summary = FetchOneColumn();
if( $summary ) {
+ $summary = html_quote($summary);
PutHeader("Bug $::FORM{'id'} - $summary", "Bugzilla Bug $::FORM{'id'}", $summary );
}else {
PutHeader("Bugzilla bug $::FORM{'id'}", "Bugzilla Bug", $::FORM{'id'});