From c9626e1f75bba2015a0522f907ca2a2155cd0cf6 Mon Sep 17 00:00:00 2001 From: Kevin Scaldeferri Date: Mon, 10 Jul 2006 22:57:46 +0000 Subject: [PATCH] revert change 1.13 entirely due to incorrect behavior --- blosxom.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blosxom.cgi b/blosxom.cgi index 2fd0861..48a79b5 100755 --- a/blosxom.cgi +++ b/blosxom.cgi @@ -363,7 +363,7 @@ sub generate { ($path,$fn) = $path_file =~ m!^$datadir/(?:(.*)/)?(.*)\.$file_extension!; # Only stories in the right hierarchy - $path =~ /^$currentdir(?=$|\/)/ or $path_file eq "$datadir/$currentdir" or next; + $path =~ /^$currentdir/ or $path_file eq "$datadir/$currentdir" or next; # Prepend a slash for use in templates only if a path exists $path &&= "/$path"; -- 2.39.2