diff options
author | Joey Hess <joey@kitenet.net> | 2010-07-04 16:19:22 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-07-04 16:19:22 -0400 |
commit | e72ef3b070b18f4cb0a667be915266b27d7d3071 (patch) | |
tree | c63e75ad85f858a6a025f3b8dbb3e3685d81bb84 | |
parent | acde95751260e305da3d8d84b6b09dcd3b2d03b6 (diff) | |
download | ikiwiki-e72ef3b070b18f4cb0a667be915266b27d7d3071.tar ikiwiki-e72ef3b070b18f4cb0a667be915266b27d7d3071.tar.gz |
comment: Fix problem moderating comments of certian pages with utf-8 in their name.
-rw-r--r-- | IkiWiki/Plugin/comments.pm | 1 | ||||
-rw-r--r-- | debian/changelog | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm index d34951570..30ade5634 100644 --- a/IkiWiki/Plugin/comments.pm +++ b/IkiWiki/Plugin/comments.pm @@ -569,6 +569,7 @@ sub commentmoderation ($$) { my $added=0; foreach my $id (keys %vars) { if ($id =~ /(.*)\._comment(?:_pending)?$/) { + $id=decode_utf8($id); my $action=$cgi->param($id); next if $action eq 'Defer' && ! $rejectalldefer; diff --git a/debian/changelog b/debian/changelog index 1450e502e..baf7a6a35 100644 --- a/debian/changelog +++ b/debian/changelog @@ -22,6 +22,8 @@ ikiwiki (3.20100624) UNRELEASED; urgency=low runs. * po: Added needstranslation() pagespec. (intrigeri) * po: Added support for .html source pages. (intrigeri) + * comment: Fix problem moderating comments of certian pages with utf-8 + in their name. -- Joey Hess <joeyh@debian.org> Wed, 23 Jun 2010 15:30:04 -0400 |