From fc6c0e8b5b0fb9de7bf798ce71a4ea3132285152 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 4 Jan 2011 15:59:00 -0400 Subject: [PATCH] fix patch to not expose config setting as a regexp --- IkiWiki/Plugin/tag.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm index 9897efc08..707cc5da1 100644 --- 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!^\.?/?!!; } -- 2.45.0