diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-21 17:05:40 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-21 17:05:40 -0400 |
commit | edfe8693814ef48426dc35fa76cdd145871fbc96 (patch) | |
tree | fc144eee7be24a25aa9088e6fe91f941467ffc51 /IkiWiki/Plugin | |
parent | 652beaf48c64d5dd10cb0e0702f1fb284c96177a (diff) | |
parent | 09a5cdbb3401cdcb17f3d2993912a8f0ea8d23b2 (diff) |
Merge commit 'smcv/master'
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/tag.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm index f0e3c223c..b0a0e53be 100644 --- a/IkiWiki/Plugin/tag.pm +++ b/IkiWiki/Plugin/tag.pm @@ -25,7 +25,8 @@ sub getopt () { #{{{ sub tagpage ($) { #{{{ my $tag=shift; - if (exists $config{tagbase} && + if ($tag !~ m{^\.?/} && + exists $config{tagbase} && defined $config{tagbase}) { $tag=$config{tagbase}."/".$tag; } |