tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oded Arbel <o...@geek.co.il>
Subject Re: RequestDumperValve screws UTF-8 parameter parsing
Date Tue, 10 Jan 2006 08:36:37 GMT
On Tuesday, 10 בJanuary 2006 00:06, Endre Stølsvik wrote:
> Enabling the RequestDumperValve in both 5.5.12 and 5.0.16 (!) messes
> up the parsing of other-than-ISO-8859-1 incoming parameters.
>
> After using a rather huge bunch of hours, this came down as the
> result: when this "debug valve" is turned on, it seems to default to
> ISO-8859-1 when it parses and log-outputs the incoming parameters,
> thus also implicitly setting the entire Request-object to this enc,
> so any subsequnt setting to UTF-8 doesn't matter at all. At least
> this is true for POST paramters.

AFAIK, the catalina implementation of HttpServletRequest does not allow 
to set the character set more then once, even though it doesn't do any 
pre-processing of the input.

Maybe that should be fixed instead ?

-- 
Oded

::..
Democracy is also a form of worship.  It is the worship of Jackals by 
Jackasses.
	-- Henry Louis Mencken

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message