$v=$baseurl.$v; # anchor
}
elsif ($dv=~/^(?!\w+:)[^\/]/) {
- $v=$url.$v; # relative url
+ $v=URI->new_abs($v, $url)->canonical; # relative url
}
elsif ($dv=~/^\//) {
if (! defined $urltop) {
my $template=template_depends($feedtype."page.tmpl", $page, blind_cache => 1);
$template->param(
+ wants_absolute_urls => 1,
title => $feedtitle,
wikiname => $config{wikiname},
pageurl => $url,