]> 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:56:34 +0000 (00:56 +0000)
committermkanat%bugzilla.org <>
Wed, 26 Nov 2008 00:56:34 +0000 (00:56 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat

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

index c0a70fa5750d987a96007f709f907af8be3240f6..ab298a05b7075426e2f8677938d6778762316980 100644 (file)
@@ -71,6 +71,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>