diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-01-01 19:58:45 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-01-01 19:58:45 -0500 |
commit | 57bba4dac132a06729eeec809f5e1a5adf829806 (patch) | |
tree | 01e8dc78a0fdcfd246cb03c3b0a8387d203ecaec /underlays/basewiki/templates | |
parent | a22dfe6fef499cf6bf9c678596025172e6bc61d8 (diff) |
* Stop testing Encode::is_utf8 in decode_form_utf8: That doesn't work.
* decode_form_utf8 only fixed the utf-8 encoding for fields that were
registered at the time it was called, which was before the
formbuilder_setup hook. Fields added by the hook didn't get decoded.
But it can't be put after the hook either, since plugins using the hook
need to be able to use form values. To fix this dilemma, it's been changed
to a decode_cgi_utf8, which is called on the cgi query object, before the
form is set up, and decodes *all* cgi parameters.
Diffstat (limited to 'underlays/basewiki/templates')
0 files changed, 0 insertions, 0 deletions