ikiwiki/IkiWiki/Plugin
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
..
404.pm add section information 2010-02-12 04:22:15 -05:00
aggregate.pm setup file ordering 2010-02-12 06:35:52 -05:00
amazon_s3.pm setup file ordering 2010-02-12 06:35:52 -05:00
anonok.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
attachment.pm add section information 2010-02-12 04:22:15 -05:00
autoindex.pm setup file ordering 2010-02-12 06:35:52 -05:00
blogspam.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
brokenlinks.pm brokenlinks: use pagespec_match_list 2009-10-09 13:35:11 -04:00
bzr.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
calendar.pm setup file ordering 2010-02-12 06:35:52 -05:00
camelcase.pm Avoid %links accumulating duplicates. (For TOVA) 2009-05-06 00:27:24 -04:00
color.pm setup file ordering 2010-02-12 06:35:52 -05:00
comments.pm Fix utf8 issues in calls to md5_hex. 2010-03-09 19:55:19 -05:00
conditional.pm setup file ordering 2010-02-12 06:35:52 -05:00
creole.pm format plugin categorization 2010-02-12 01:10:36 -05:00
cutpaste.pm setup file ordering 2010-02-12 06:35:52 -05:00
cvs.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
darcs.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
date.pm setup file ordering 2010-02-12 06:35:52 -05:00
ddate.pm
editdiff.pm add section information 2010-02-12 04:22:15 -05:00
editpage.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
edittemplate.pm add section information 2010-02-12 04:22:15 -05:00
embed.pm
external.pm Support RPC::XML 0.69's incompatable object instantiation method. 2009-09-29 13:35:30 -04:00
favicon.pm
filecheck.pm pagespec error/failure distinction and error display by inline 2009-04-23 14:07:28 -04:00
format.pm setup file ordering 2010-02-12 06:35:52 -05:00
fortune.pm setup file ordering 2010-02-12 06:35:52 -05:00
getsource.pm add section information 2010-02-12 04:22:15 -05:00
git.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
goodstuff.pm repolist: New plugin to support the rel=vcs-* microformat. 2009-01-07 16:07:46 -05:00
google.pm add section information 2010-02-12 04:22:15 -05:00
goto.pm add section information 2010-02-12 04:22:15 -05:00
graphviz.pm setup file ordering 2010-02-12 06:35:52 -05:00
haiku.pm setup file ordering 2010-02-12 06:35:52 -05:00
highlight.pm catch failure to open the filetypes file 2010-02-24 20:28:52 -05:00
hnb.pm format plugin categorization 2010-02-12 01:10:36 -05:00
html.pm format plugin categorization 2010-02-12 01:10:36 -05:00
htmlbalance.pm
htmlscrubber.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
htmltidy.pm htmltidy: Return an error message if tidy fails. Closes: #543722 2009-08-27 16:27:57 -04:00
httpauth.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
img.pm setup file ordering 2010-02-12 06:35:52 -05:00
inline.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
link.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
linkmap.pm setup file ordering 2010-02-12 06:35:52 -05:00
listdirectives.pm setup file ordering 2010-02-12 06:35:52 -05:00
localstyle.pm localstyle: New plugin, allows overrding the toplevel local.css with one that is closer to a page. 2009-11-09 13:39:05 -05:00
lockedit.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
map.pm setup file ordering 2010-02-12 06:35:52 -05:00
mdwn.pm format plugin categorization 2010-02-12 01:10:36 -05:00
mercurial.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
meta.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
mirrorlist.pm add section information 2010-02-12 04:22:15 -05:00
moderatedcomments.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
monotone.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
more.pm setup file ordering 2010-02-12 06:35:52 -05:00
norcs.pm add section information 2010-02-12 04:22:15 -05:00
opendiscussion.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
openid.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
orphans.pm setup file ordering 2010-02-12 06:35:52 -05:00
otl.pm format plugin categorization 2010-02-12 01:10:36 -05:00
pagecount.pm setup file ordering 2010-02-12 06:35:52 -05:00
pagestats.pm setup file ordering 2010-02-12 06:35:52 -05:00
pagetemplate.pm
parentlinks.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
passwordauth.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
pingee.pm setup file ordering 2010-02-12 06:35:52 -05:00
pinger.pm setup file ordering 2010-02-12 06:35:52 -05:00
po.pm format plugin categorization 2010-02-12 01:10:36 -05:00
poll.pm setup file ordering 2010-02-12 06:35:52 -05:00
polygen.pm setup file ordering 2010-02-12 06:35:52 -05:00
postsparkline.pm setup file ordering 2010-02-12 06:35:52 -05:00
prettydate.pm typo 2009-07-01 13:45:28 -04:00
progress.pm setup file ordering 2010-02-12 06:35:52 -05:00
rawhtml.pm format plugin categorization 2010-02-12 01:10:36 -05:00
recentchanges.pm setup file ordering 2010-02-12 06:35:52 -05:00
recentchangesdiff.pm
relativedate.pm toggle, relativedate: Support templates that add attributes to the body tag. 2009-09-28 16:21:03 -04:00
remove.pm add section information 2010-02-12 04:22:15 -05:00
rename.pm add section information 2010-02-12 04:22:15 -05:00
repolist.pm add section information 2010-02-12 04:22:15 -05:00
rsync.pm setup file ordering 2010-02-12 06:35:52 -05:00
search.pm add section information 2010-02-12 04:22:15 -05:00
shortcut.pm setup file ordering 2010-02-12 06:35:52 -05:00
sidebar.pm
signinedit.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
skeleton.pm.example Add genwrapper hook, that can be used to add code into the C wrapper. 2009-09-10 14:04:46 -04:00
smiley.pm avoid potential infinite loop in smiley expansion 2009-03-08 18:49:34 -04:00
sparkline.pm setup file ordering 2010-02-12 06:35:52 -05:00
svn.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
table.pm setup file ordering 2010-02-12 06:35:52 -05:00
tag.pm Avoid %links accumulating duplicates. (For TOVA) 2009-05-06 00:27:24 -04:00
template.pm setup file ordering 2010-02-12 06:35:52 -05:00
testpagespec.pm setup file ordering 2010-02-12 06:35:52 -05:00
teximg.pm Fix utf8 issues in calls to md5_hex. 2010-03-09 19:55:19 -05:00
textile.pm format plugin categorization 2010-02-12 01:10:36 -05:00
tla.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
toc.pm setup file ordering 2010-02-12 06:35:52 -05:00
toggle.pm setup file ordering 2010-02-12 06:35:52 -05:00
txt.pm format plugin categorization 2010-02-12 01:10:36 -05:00
typography.pm remove unnecessary IkiWiki:: 2010-02-12 04:01:04 -05:00
underlay.pm setup file ordering 2010-02-12 06:35:52 -05:00
version.pm setup file ordering 2010-02-12 06:35:52 -05:00
websetup.pm add section information 2010-02-12 04:22:15 -05:00
wikitext.pm format plugin categorization 2010-02-12 01:10:36 -05:00
wmd.pm add section information 2010-02-12 04:22:15 -05:00