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 40177] New: - RequestDumperValve causes getCharacterEncoding to be called
Date Thu, 03 Aug 2006 10:07:53 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40177>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40177

           Summary: RequestDumperValve causes getCharacterEncoding to be
                    called
           Product: Tomcat 5
           Version: 5.5.15
          Platform: PC
               URL: http://nicolas-delsaux.is-a-
                    geek.net/wordpress/?p=759&lp_lang_view=en
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: nicolas.delsaux@mail.sogeti.com


When RequestDumperValve is activated, getParameterNames is called (from http://
www.koders.com/java/
fid998CD923F9D6A959FE5FB7880A26ADB808D36118.aspx?s=requestdumpervalve it is 
called at line 124). Thus, any further call to setCharacterEncoding is useless 
and the whole application must use the RequestDumperValve (which is, 
unfortunatly for any i18n application, ISO-8859-1).
A possible workaround would be to do a deep clone of the request to be used by 
RequestDumperValve. Obviously, it implies a perforrmance leak, but since it is 
a debug valve, it may seem acceptable.

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

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


Mime
View raw message