Closed
Description
Etienne Neveu opened SPR-15867 and commented
While reading the code of FrameworkServlet#RequestBindingInterceptor
, I noticed that we try to obtain the HttpServletResponse
using webRequest.getNativeRequest(HttpServletResponse.class)
instead of webRequest.getNativeResponse(HttpServletResponse.class)
:
I'm wondering if it's a typo, and if it should be fixed?
I'm not sure about the impact, but it seems to have been added in this commit, so I guess it is not a huge issue, since the code is here since 2013... But I thought I might as well create a ticket, just in case.
Affects: 4.3.10, 5.0 RC3
Issue Links:
- Change in FrameworkServlet makes it impossible to use an alternative WebRequest instance for request processing [SPR-10342] #14976 Change in FrameworkServlet makes it impossible to use an alternative WebRequest instance for request processing