URLs must be escaped inside XML, e.g. inside the <link> container, too.
authorAxel Beckert <xtaran@users.sourceforge.net>
Tue, 22 Jul 2008 01:41:11 +0000 (01:41 +0000)
committerAxel Beckert <xtaran@users.sourceforge.net>
Tue, 22 Jul 2008 01:41:11 +0000 (01:41 +0000)
blosxom.cgi

index fb2a45f..341d296 100755 (executable)
@@ -673,6 +673,9 @@ sub generate {
                 my $escape_re = join '|' => keys %escape;
                 $title =~ s/($escape_re)/$escape{$1}/g;
                 $body  =~ s/($escape_re)/$escape{$1}/g;
+                $url   =~ s/($escape_re)/$escape{$1}/g;
+                $path  =~ s/($escape_re)/$escape{$1}/g;
+                $fn    =~ s/($escape_re)/$escape{$1}/g;
             }
 
             $story = &$interpolate($story);