Problem with filter and calling Perl-script with Tomcat 5.5.20
- From: <Gunnar.Bostrom (at) tietoenator.com>
- Date: Mon, 16 Oct 2006 17:09:11 +0200
Hi,
I've a problem with the new 5.5.20 Tomcat version.
I think this has to do with this bug fix
http://issues.apache.org/bugzilla/show_bug.cgi?id=37285.
The problem is that I have a filter that adds a parameter before the
CGI-filter calling out to a Perl-script.
This code worked with Tomcat 5.5.17 and works with 5.5.20 if the request
is a GET but not a POST.
This is the relevant code:
HttpServletRequest httpServletRequest = (HttpServletRequest) request;
HashMap<String, String[]> parameters = new HashMap<String, String[]>(
(HashMap<String, String[]>) httpServletRequest.getParameterMap());
fillUserInfo(parameters);
httpServletRequest = generateWrapper(httpServletRequest, parameters);
chain.doFilter(httpServletRequest, response);
Can you advise me what to do?
Regards
Gunnar
---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org