]> sipb.mit.edu Git - ikiwiki.git/commitdiff
comment: Fix problem moderating comments of certian pages with utf-8 in their name.
authorJoey Hess <joey@kitenet.net>
Sun, 4 Jul 2010 20:19:22 +0000 (16:19 -0400)
committerJoey Hess <joey@kitenet.net>
Sun, 4 Jul 2010 20:19:22 +0000 (16:19 -0400)
IkiWiki/Plugin/comments.pm
debian/changelog

index d34951570da77d1f9a423b874d362bd1b800aec8..30ade56348c10aad8c77a6c3213bc7244209f187 100644 (file)
@@ -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;
 
index 1450e502e2be56af72156607a605a32d91f34a32..baf7a6a35f88dff370302640b320b6473385e655 100644 (file)
@@ -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