Go to file
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
Bundle amazon s3 support implemented and kinda working 2008-05-07 23:15:43 -04:00
IkiWiki Fixes for behavior changes in perl 5.10's CGI 2008-05-12 20:44:22 -04:00
cpan enhancesments for shared hosting 2008-05-05 14:51:26 -04:00
debian Fixes for behavior changes in perl 5.10's CGI 2008-05-12 20:44:22 -04:00
doc Fixes for behavior changes in perl 5.10's CGI 2008-05-12 20:44:22 -04:00
plugins scan hook works, remove NotImplemented exception 2008-03-21 19:17:00 -04:00
po pinger/pingee now tested and working 2008-05-06 19:06:53 -04:00
t skip amazon_s3 since it uses a perl module not in build deps 2008-05-09 13:10:08 -04:00
templates response 2008-04-10 19:54:38 -04:00
underlays Add robots noindex,follow to redirection pages 2008-03-11 15:44:37 -04:00
.gitignore .gitignore: Ignore build-stamp 2008-01-26 22:25:43 -08:00
.perlcriticrc * Various minor fixes and stylistic improvements suggested by Perl::Critic. 2007-08-15 08:08:32 +00:00
CHANGELOG * Work on firming up the plugin interface: 2006-09-09 22:50:27 +00:00
IkiWiki.pm Optimised file statting code when scanning for modified pages; cut the number of system calls in half. (Still room for improvement.) 2008-05-07 14:11:56 -04:00
Makefile.PL defer po and pot file updating until package build time 2008-03-21 16:32:23 -04:00
NEWS * Work on firming up the plugin interface: 2006-09-09 22:50:27 +00:00
README mention makemaker variables 2008-05-05 19:02:04 -04:00
docwiki.setup revert changes committed while testing sc3 (oops) 2008-05-07 23:58:40 -04:00
ikiwiki-makerepo Also seed gitignore with recentchanges 2008-05-10 12:43:38 -04:00
ikiwiki-mass-rebuild display if group setting fails 2007-12-07 01:09:48 -05:00
ikiwiki-transition fix transitioning of page state 2008-03-21 13:22:47 -04:00
ikiwiki-update-wikilist commit. 2007-09-06 00:32:11 +00:00
ikiwiki-w3m.cgi * Support a w3mmode, which lets w3m run ikiwiki using its local CGI 2006-07-07 21:00:48 +00:00
ikiwiki.in Add --prefix-directives and --no-prefix-directives options to ikiwiki 2008-02-08 18:35:12 -08:00
mdwn2man fix 2007-03-31 06:56:52 +00:00
pm_filter use an elsif 2008-04-28 22:13:12 -04:00
wikilist Fix typo. 2007-04-09 23:54:32 +00:00

README

Use ./Makefile.PL to generate a Makefile, "make" will build the
documentation wiki and a man page, and "make install" will install ikiwiki.

A few special variables you can set while using the Makefile:

PROFILE=1 turns on profiling for the build of the doc wiki. Uses Devel::Profile

NOTAINT=0 turns on the taint flag in the ikiwiki program. (Not recommended
unless your perl is less buggy than mine -- see
http://bugs.debian.org/411786)

There are also other variables supported by MakeMaker, including PREFIX,
INSTALL_BASE, and DESTDIR. See ExtUtils::MakeMaker(3).

All other documentation is in the ikiwiki documentation wiki, which is also
available online at <http://ikiwiki.info/>