comment: Fix problem moderating comments of certian pages with utf-8 in their name.

master
Joey Hess 2010-07-04 16:19:22 -04:00
parent acde957512
commit e72ef3b070
2 changed files with 3 additions and 0 deletions

View File

@ -569,6 +569,7 @@ sub commentmoderation ($$) {
my $added=0; my $added=0;
foreach my $id (keys %vars) { foreach my $id (keys %vars) {
if ($id =~ /(.*)\._comment(?:_pending)?$/) { if ($id =~ /(.*)\._comment(?:_pending)?$/) {
$id=decode_utf8($id);
my $action=$cgi->param($id); my $action=$cgi->param($id);
next if $action eq 'Defer' && ! $rejectalldefer; next if $action eq 'Defer' && ! $rejectalldefer;

2
debian/changelog vendored
View File

@ -22,6 +22,8 @@ ikiwiki (3.20100624) UNRELEASED; urgency=low
runs. runs.
* po: Added needstranslation() pagespec. (intrigeri) * po: Added needstranslation() pagespec. (intrigeri)
* po: Added support for .html source pages. (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 -- Joey Hess <joeyh@debian.org> Wed, 23 Jun 2010 15:30:04 -0400