tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51346] When RequestDumperValve is enabled, an attempt to read from InputStream from an application is failing
Date Thu, 09 Jun 2011 10:55:30 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51346

--- Comment #5 from violetagg@apache.org 2011-06-09 10:55:30 UTC ---
(In reply to comment #4)
> (In reply to comment #3)
> > "* ...It is especially useful in debugging problems
> >  * related to headers and cookies."
> The JavaDoc that you are citing above does not have the warning,
> but the documentation does have it,
> http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Request_Dumper_Valve

The page contains the following:
"WARNING: Using this valve has side-effects. The output from this valve
includes any parameters included with the request. The parameters will be
decoded using the default platform encoding. Any subsequent calls to
request.setCharacterEncoding() within the web application will have no effect.
"

There is no explicit note for inputstream consumption which actually happens.

I can propose a patch if you think it is applicable, but this will take some
time.

What do you think?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message