mdarifmustafa / vt-middleware

Automatically exported from code.google.com/p/vt-middleware
0 stars 0 forks source link

RequestDumperFilter Consumes Request Body #145

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When a POST request with an entity (body) is printed with RequestDumperFilter, 
iterating over parameter names/values consumes the input stream containing the 
body. The input stream is empty to downstream filters and the target servlet. 
In this way RequestDumperFilter fundamentally alters request data and violates 
the contract to be transparent with respect to the servlet environment.

Original issue reported on code.google.com by marvin.addison@gmail.com on 20 Feb 2013 at 4:14

GoogleCodeExporter commented 8 years ago
Attached failing test case that demonstrates problem.

Original comment by marvin.addison@gmail.com on 20 Feb 2013 at 4:15

Attachments: