ikiwiki/doc
Joey Hess fb3d5b4800 Fixes for behavior changes in perl 5.10's CGI
Something has changed in CGI.pm in perl 5.10. It used to not care
if STDIN was opened using :utf8, but now it'll mis-encode utf-8 values
when used that way by ikiwiki. Now I have to binmode(STDIN) before
instantiating the CGI object.

In 57bba4dac1, I changed from decoding
CGI::Formbuilder fields to utf-8, to decoding cgi parameters before setting
up the form object. As of perl 5.10, that approach no longer has any effect
(reason unknown). To get correctly encoded values in FormBuilder forms,
they must once again be decoded after the form is set up.

As noted in 57bba4da, this can cause one set of problems for
formbuilder_setup hooks if decode_form_utf8 is called before the hooks, and
a different set if it's called after. To avoid both sets of problems, call
it both before and after. (Only remaining problem is the sheer ugliness and
inefficiency of that..)

I think that these changes will also work with older perl versions, but I
haven't checked.

Also, in the case of the poll plugin, the cgi parameter needs to be
explcitly decoded before it is used to handle utf-8 values. (This may have
always been broken, not sure if it's related to perl 5.10 or not.)
2008-05-12 20:44:22 -04:00
..
banned_users
basewiki
bugs Fixes for behavior changes in perl 5.10's CGI 2008-05-12 20:44:22 -04:00
contact web commit by http://madduck.net/ 2008-03-10 09:42:37 -04:00
css_market wiki gnomes at work 2008-03-28 14:35:49 -04:00
examples remove question that was added to a non-discussion page 2008-04-22 15:19:15 -04:00
forum
ikiwiki web commit by http://liw.fi/: Updated URL for openiddirectory page. It had moved. 2008-05-11 08:15:34 -04:00
ikiwiki-mass-rebuild
ikiwikiusers
index web commit by buo: More information on ikiwiki mangling accented characters 2008-05-08 11:56:37 -04:00
install web commit by http://vibrog.myopenid.com/ 2008-04-30 16:25:30 -04:00
logo
news web commit from 145.97.197.85: poll vote (Accept both) 2008-05-07 04:11:57 -04:00
plugins add --delete-bucket option 2008-05-08 16:11:39 -04:00
post-commit
rcs web commit by ittayd 2008-04-08 15:37:11 -04:00
roadmap
sandbox web commit by http://alcopop.org/me/openid/: context 2008-04-30 15:54:27 -04:00
security copying an intersting bit from an email I'm writing 2008-01-30 16:30:24 -05:00
setup response; fixed 2008-04-26 15:07:21 -04:00
smileys
soc
tags
templates
tips most modules are pre-installed now 2008-05-08 00:20:49 -04:00
todo update 2008-05-12 17:13:02 -04:00
translation
usage web commit by JeremyReed: Need to add to man page? 2008-01-16 11:08:47 -05:00
users web commit by http://harningt.eharning.us/: updated openid reference 2008-04-24 00:01:27 -04:00
w3mmode
wikiicons
GPL
TourBusStop.mdwn
backlinks.mdwn
banned_users.mdwn
basewiki.mdwn
bugs.mdwn
cgi.mdwn added configuration for recentchanges 2008-01-29 15:51:32 -05:00
commit-internals.mdwn
contact.mdwn move random comment out of the main page and into the discussion page where it belongs 2008-02-24 17:50:01 -05:00
css.mdwn
css_market.mdwn wiki gnomes at work 2008-03-28 14:35:49 -04:00
download.mdwn add a page describing ikiwiki's git repo, including branches 2008-02-05 13:49:25 -05:00
examples.mdwn
favicon.ico
features.mdwn typo 2008-01-29 19:27:37 -05:00
forum.mdwn
freesoftware.mdwn clarification 2008-05-07 16:35:06 -04:00
git.mdwn debian-stable branch 2008-02-10 18:01:48 -05:00
hyperestraier.mdwn
ikiwiki-makerepo.mdwn
ikiwiki-mass-rebuild.mdwn
ikiwiki-transition.mdwn add transition code for indexdb 2008-03-21 09:37:52 -04:00
ikiwiki-update-wikilist.mdwn
ikiwiki.mdwn Tell robots to noindex,follow basewiki pages 2008-03-11 15:44:18 -04:00
ikiwiki.setup amazon s3 index file improvements 2008-05-08 15:51:09 -04:00
ikiwikiusers.mdwn web commit by http://hendry.iki.fi/: anti-expert-exchange 2008-04-22 04:58:20 -04:00
index.mdwn web commit by http://joey.kitenet.net/: oops :-) 2008-04-10 14:45:00 -04:00
install.mdwn fix PERL5LIB in examples 2008-05-05 20:12:06 -04:00
local.css
logo.mdwn correct the command line used to generate the favicon 2008-04-10 18:51:21 -04:00
news.mdwn
page_locking.mdwn
pagehistory.mdwn
patch.mdwn add a page describing ikiwiki's git repo, including branches 2008-02-05 13:49:25 -05:00
plugins.mdwn
post-commit.mdwn Word-wrap post-commit page 2008-01-28 00:39:17 -08:00
rcs.mdwn
recentchanges.mdwn add ! prefix to some directives in templates, and to the recentchanges page 2008-02-05 16:18:29 -05:00
roadmap.mdwn mention prefix_directives 2008-01-28 14:56:15 -05:00
sandbox.mdwn Revert "web commit by http://joey.kitenet.net/: testing utf-8" 2008-05-12 17:08:10 -04:00
security.mdwn add CVE link 2008-04-20 15:25:51 -04:00
setup.mdwn update 2008-05-05 19:14:33 -04:00
shortcuts.mdwn web commit by http://madduck.net/: add shortcut for wiki.debian.org 2008-05-10 09:28:14 -04:00
sitemap.mdwn update 2008-01-29 17:35:55 -05:00
smileys.mdwn
soc.mdwn German translation update. Closes: #471540 2008-03-18 16:36:19 -04:00
style.css * Add recentchangesdiff plugin that adds diffs to the recentchanges feeds. 2008-03-03 15:53:34 -05:00
tags.mdwn
templates.mdwn Tell robots to noindex,follow basewiki pages 2008-03-11 15:44:18 -04:00
tipjar.mdwn many thanks to madduck for his donation 2008-04-02 15:04:58 -04:00
tips.mdwn
todo.mdwn
translation.mdwn
usage.mdwn template change documentation 2008-05-06 14:33:03 -04:00
users.mdwn
w3mmode.mdwn
whyikiwiki.mdwn
wikitemplates.mdwn web commit by http://edward.myopenid.com/: fix link 2008-02-05 03:48:24 -05:00
wishlist.mdwn