From e8dea1b9241b35217d9727be4f4460a8b562bbb3 Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Sun, 2 Dec 2018 08:38:34 +0800 Subject: [PATCH] Fix inline plugin for non-ASCII rootpage --- IkiWiki/Plugin/inline.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;