From: Kevin Scaldeferri Date: Mon, 10 Jul 2006 22:57:46 +0000 (+0000) Subject: revert change 1.13 entirely due to incorrect behavior X-Git-Tag: v2_0_2~3 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=c9626e1f75bba2015a0522f907ca2a2155cd0cf6;p=matthijs%2Fupstream%2Fblosxom.git revert change 1.13 entirely due to incorrect behavior --- 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";