summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/CGI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index bdd190d4b..68226725b 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -72,7 +72,7 @@ sub absurl ($$) {
my $q=shift;
eval q{use URI};
- return URI->new_abs($partialurl, $q);
+ return URI->new_abs($partialurl, $q->url);
}
sub redirect ($$) {