Summary: | ApplicationDispatcher.doForward for non-HTTP request is always NULL | ||
---|---|---|---|
Product: | Tomcat 6 | Reporter: | Mailmur <mailmur> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | critical | ||
Priority: | P2 | ||
Version: | 6.0.14 | ||
Target Milestone: | default | ||
Hardware: | Other | ||
OS: | other | ||
Attachments: | Patch against 6.0 trunk to fix this |
Description
Mailmur
2007-10-21 13:16:07 UTC
Created attachment 21017 [details]
Patch against 6.0 trunk to fix this
This handles the case where the outer most wrapper is a ServletRequestWrapper,
but not a HttpServletRequestWrapper. This further breaks 39417, but that one
is invalid anyway (according to the spec).
39417: ApplicationDispatcher.unwrapRequest() should not assume servletRequestWrapper http://issues.apache.org/bugzilla/show_bug.cgi?id=39417 What do you mean, is it that a bug 39417 is even further away to be fixed? I made a quick test and posted a solution I used, a simple is-instanceof check and bail out. Fix is posted at the end of 39417 report. Fixed in the next 6.0 release with the attached patch. |