From: Barijaona Ramaholimihaso Date: Sun, 18 Dec 2005 18:52:23 +0000 (+0000) Subject: Fixed bug 1368882 X-Git-Tag: v2_0_2~9 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=8b0659156fafd39059d8e3e4a617eafa320a3b68;p=matthijs%2Fupstream%2Fblosxom.git Fixed bug 1368882 When statically rendering single story page, this sets the path_info fields the same way as in dynamic rendering. --- diff --git a/blosxom.cgi b/blosxom.cgi index 43afa7d..920a783 100755 --- a/blosxom.cgi +++ b/blosxom.cgi @@ -247,7 +247,9 @@ if (!$ENV{GATEWAY_INTERFACE} and param('-password') and $static_password and par if ($indexes{$path} == 1) { # category $path_info = $p; - print $fh_w &generate('static', $p, '', $flavour, $content_type); + # individual story + $path_info =~ s!\.$file_extension$!\.$flavour!; + print $fh_w &generate('static', $path_info, '', $flavour, $content_type); } else { # date local ($path_info_yr,$path_info_mo,$path_info_da, $path_info) =