From 04498cdeb486a518ef9ed2464cb95f734b48c6bd Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 21 Feb 2011 14:57:15 -0400 Subject: Fix broken baseurl in cgi mode when usedirs is disabled. Bug introduced in 3.20101231. --- IkiWiki/CGI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki') diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index f8617bfc6..cb4f395a0 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -79,7 +79,7 @@ sub cgitemplate ($$$;@) { title => $title, wikiname => $config{wikiname}, content => $content, - baseurl => urlabs(urlto(""), $topurl), + baseurl => urlabs(baseurl(), $topurl), html5 => $config{html5}, %params, ); -- cgit v1.2.3