From 8b0659156fafd39059d8e3e4a617eafa320a3b68 Mon Sep 17 00:00:00 2001 From: Barijaona Ramaholimihaso Date: Sun, 18 Dec 2005 18:52:23 +0000 Subject: [PATCH 1/1] Fixed bug 1368882 When statically rendering single story page, this sets the path_info fields the same way as in dynamic rendering. --- blosxom.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) = -- 2.30.2