Thursday, 15 January 2009
Bug: Unicode CGI POST arguments in Perl 5.8.8
A change in the handling of the \verb+decode_utf8+ function between
Perl 5.8.5 and 5.8.8 broke decoding of CGI arguments containing
ISO-8859 and Unicode characters when received as POST arguments.
Whereas before we needed to read POST arguments with
``{\tt :utf8}'', now it appears we need to use ``{\tt :raw}''
unconditionally. How much would you like to bet we'll be changing
this back somewhere down the road.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment