summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")."]]";