projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a17469e
)
fix patch to not expose config setting as a regexp
author
Joey Hess
<joey@kitenet.net>
Tue, 4 Jan 2011 19:59:00 +0000
(15:59 -0400)
committer
Joey Hess
<joey@kitenet.net>
Tue, 4 Jan 2011 19:59:00 +0000
(15:59 -0400)
IkiWiki/Plugin/tag.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/tag.pm
b/IkiWiki/Plugin/tag.pm
index 9897efc08027c958afc89dbd9789c531b09b6ec1..707cc5da1b5dbd4941c8e78a0944485503f38779 100644
(file)
--- a/
IkiWiki/Plugin/tag.pm
+++ b/
IkiWiki/Plugin/tag.pm
@@
-59,7
+59,7
@@
sub taglink ($) {
sub tagname ($) {
my $tag=shift;
if (defined $config{tagbase}) {
- $tag =~ s!^/
$config{tagbase}
/!!;
+ $tag =~ s!^/
\Q$config{tagbase}\E
/!!;
} else {
$tag =~ s!^\.?/?!!;
}