remove broken ./tag support
[ikiwiki.git] / IkiWiki / Plugin / tag.pm
index 62e0cc3b82e04437b63742d61ad90b4ab0fd73ff..8ec08e936d1b021d69d7ad9f546c3427a425920c 100644 (file)
@@ -39,7 +39,7 @@ sub getsetup () {
 sub tagpage ($) {
        my $tag=shift;
                        
-       if ($tag !~ m{^\.?/} &&
+       if ($tag !~ m{^/} &&
            defined $config{tagbase}) {
                $tag="/".$config{tagbase}."/".$tag;
                $tag=~y#/#/#s; # squash dups