summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-03-09 19:55:19 -0500
committerJoey Hess <joey@kitenet.net>2010-03-09 19:55:19 -0500
commit6d27bbd026ebed85f8501b6b4daefaba73061574 (patch)
tree6a0bee7e5fb6de5d5fd9b8dd4e1b3aeb2467673c /debian
parentfa6d082955dbc75de62839e285c0d441cd83acb1 (diff)
Fix utf8 issues in calls to md5_hex.
This prevented comments containing some utf-8, including euro sign, from being submitted. Since md5_hex is a C implementation, the string has to be converted from perl's internal encoding to utf-8 when it is called. Some utf-8 happened to work before, apparently by accident. Note that this will change the checksums returned. unique_comment_location is only used when posting comments, so the checksum does not need to be stable there. I only changed page_to_id for completeness; it is passed a comment page name, and they can currently never contain utf-8. In teximg, the bug could perhaps be triggered if the tex source contained utf-8. If that happens, the checksum will change, and some extra work might be performed on upgrade to rebuild the image.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index c0f99291f..d1253c079 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ikiwiki (3.20100303) UNRELEASED; urgency=low
+
+ * Fix utf8 issues in calls to md5_hex.
+
+ -- Joey Hess <joeyh@debian.org> Tue, 09 Mar 2010 19:46:35 -0500
+
ikiwiki (3.20100302) unstable; urgency=low
* comments: Display number of comments in comment action link.