summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-20 20:45:55 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-20 20:45:55 +0000
commit132e41500f54d5e5d92ebf0a53349511e5ade6c3 (patch)
tree6012321348374fe971ea407915a91ee55e42199b
parent894ae79699fccba212418fe75ce0e729a24e7ecd (diff)
* Fix utf-8 in blog post form.
-rw-r--r--IkiWiki/CGI.pm2
-rw-r--r--debian/changelog3
2 files changed, 3 insertions, 2 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index f1f83cfc4..4c15be0ae 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -614,7 +614,7 @@ sub cgi () { #{{{
cgi_prefs($q, $session);
}
elsif ($do eq 'blog') {
- my $page=titlepage($q->param('title'));
+ my $page=titlepage(decode_utf8($q->param('title')));
# if the page already exists, munge it to be unique
my $from=$q->param('from');
my $add="";
diff --git a/debian/changelog b/debian/changelog
index 61379c5fb..22db661bd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,8 +16,9 @@ ikiwiki (1.21) UNRELEASED; urgency=low
Talens-Oliag. Note that this has many known issues -- see the caveats on
the plugin's page.
* Credit everyone who wrote a plugin on the plugins' wiki pages.
+ * Fix utf-8 in blog post form.
- -- Joey Hess <joeyh@debian.org> Sat, 19 Aug 2006 00:56:32 -0400
+ -- Joey Hess <joeyh@debian.org> Sun, 20 Aug 2006 16:40:51 -0400
ikiwiki (1.20) unstable; urgency=low