X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/d01334b8e9c229895ecb6d0b0a7acda86515df71..38d7e71c654f27cd2691537742e84b8113f1ad3c:/IkiWiki.pm diff --git a/IkiWiki.pm b/IkiWiki.pm index 140f7f740..97946bfcf 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1134,7 +1134,7 @@ sub beautify_urlpath ($) { return $url; } -sub urlto ($$;$) { +sub urlto ($;$$) { my $to=shift; my $from=shift; my $absolute=shift; @@ -1245,7 +1245,7 @@ sub userpage ($) { sub openiduser ($) { my $user=shift; - if ($user =~ m!^https?://! && + if (defined $user && $user =~ m!^https?://! && eval q{use Net::OpenID::VerifiedIdentity; 1} && !$@) { my $display;