-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug
Milestone
Description
Vlad Bochenin opened SPR-12810 and commented
in org/springframework/web/util/ContentCachingRequestWrapper.java
When you call getParameterMap(), Tomcat, for example, reads parameters from InputStream, so impossible to read from input stream in servlet
I tried in Tomcat 7.0.52, but I think it will be reproduced in other servlet containers
Step to reproduce
- Register logging filter (CommonsRequestLogginFilter etc) in filter chain
- Execute POST Form request
- Try to read something from request input stream in servlet (after filter was executed)
Expected result:
you can read data from input stream
Actual Result:
You cannot read any data from input stream
Affects: 4.1.5
Issue Links:
- Improve ContentCachingRequestWrapper [SPR-12815] #17412 Improve ContentCachingRequestWrapper
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug