From: Kevin Scaldeferri Date: Fri, 25 Nov 2005 20:00:32 +0000 (+0000) Subject: correct fix of bug 1345548. X-Git-Tag: debian/2.1.2-2~132 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=c26812419e7027d06d08d1f68fbf7b6f16df3db2;p=pkg%2Fblosxom.git correct fix of bug 1345548. --- diff --git a/blosxom.cgi b/blosxom.cgi index 39ae927..aeccd18 100755 --- a/blosxom.cgi +++ b/blosxom.cgi @@ -375,7 +375,7 @@ sub generate { # Plugins: Story foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('story') and $entries = $plugin->story($path, $fn, \$story, \$title, \$body) } - if ($content_type =~ m{\bxml\b$}) { + if ($content_type =~ m{\bxml\b}) { # Escape <, >, and &, and to produce valid RSS my %escape = ('<'=>'<', '>'=>'>', '&'=>'&', '"'=>'"'); my $escape_re = join '|' => keys %escape;