From: Feng Shu Date: Sun, 2 Dec 2018 00:38:34 +0000 (+0800) Subject: Fix inline plugin for non-ASCII rootpage X-Git-Tag: 3.20190207~18 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/e8dea1b9241b35217d9727be4f4460a8b562bbb3 Fix inline plugin for non-ASCII rootpage --- diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index a85cd5d2f..f40956821 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -125,7 +125,7 @@ sub sessioncgi ($$) { error(gettext("please enter a page title")); } # if the page already exists, munge it to be unique - my $from=$q->param('from'); + my $from=decode_utf8($q->param('from')); my $add=""; while (exists $IkiWiki::pagecase{lc($from."/".$page.$add)}) { $add=1 unless length $add;