]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 466398: <select> is not escaped in the API documentation
authormkanat%bugzilla.org <>
Wed, 26 Nov 2008 00:57:54 +0000 (00:57 +0000)
committermkanat%bugzilla.org <>
Wed, 26 Nov 2008 00:57:54 +0000 (00:57 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat

docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm

index 06c76c678b85eddcf690980a8ad09002ae1cd425..56896a9b747f1187b34c7470a7c34b46e3c18dbc 100644 (file)
@@ -70,6 +70,7 @@ sub _write_contents_middle {
             my $path = join( "/", '.', esc(@{$e->[3]}) )
                . $Pod::Simple::HTML::HTML_EXTENSION;
             my $description = $self->{bugzilla_desc}->{$name} || '';
+            $description = esc($description);
             my $html = <<END_HTML;
 <tr class="$even_or_odd">
   <th><a href="$path">$name</a></th>