ikiwiki/IkiWiki
Joey Hess 6d27bbd026 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.
2010-03-09 19:55:19 -05:00
..
Plugin Fix utf8 issues in calls to md5_hex. 2010-03-09 19:55:19 -05:00
Setup Fix admin openid detection in setup automator, and avoid prompting for a password. 2010-02-27 16:36:57 -05:00
CGI.pm brace style 2010-01-18 12:33:25 -05:00
Receive.pm Merge branch 'master' into cvs 2009-09-10 16:18:23 -04:00
Render.pm Add new --clean option; this makes ikiwiki remove all built files in the destdir, as well as wrappers and the .ikiwiki directory. 2010-02-28 00:12:47 -05:00
Setup.pm setup file ordering 2010-02-12 06:35:52 -05:00
UserInfo.pm remove deprecated admin prefs 2008-12-24 16:16:03 -05:00
Wrapper.pm avoid -O default for CFLAGS, and document 2009-10-21 16:27:47 -04:00