aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2007-12-08 15:17:37 -0500
committerJoey Hess <joey@kitenet.net>2007-12-08 15:17:37 -0500
commitb8681e19d170faab819d131e8e1bd173daeedc0b (patch)
tree52f0d7b1df52c683730be18f704a1b73e573262c /IkiWiki
parentccf99970a756f04ba3224b8c9141bcb4db69cf24 (diff)
downloadikiwiki-b8681e19d170faab819d131e8e1bd173daeedc0b.tar
ikiwiki-b8681e19d170faab819d131e8e1bd173daeedc0b.tar.gz
wikilink fix
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/meta.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm
index a0dd66376..ac8890795 100644
--- a/IkiWiki/Plugin/meta.pm
+++ b/IkiWiki/Plugin/meta.pm
@@ -71,7 +71,7 @@ sub preprocess (@) { #{{{
}
elsif ($key eq 'redir') {
my $safe=0;
- if ($value =~ /^$config{wiki_link_regexp}$/) {
+ if ($value !~ /^\w+:\/\//) {
my $link=bestlink($page, $value);
if (! length $link) {
return "[[meta ".gettext("redir page not found")."]]";