wikilink fix

master
Joey Hess 2007-12-08 15:17:37 -05:00
parent ccf99970a7
commit b8681e19d1
1 changed files with 1 additions and 1 deletions

View File

@ -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")."]]";