Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.8 RC2
-
None
Description
This is the same problem of the one presented here: http://jira.xwiki.org/jira/browse/XWIKI-3279
the doFilter method uses getParameterValues() to retrieve relevant information. This method has the side-effect of invalidating the request body by consuming its input stream, so when the request reaches the RESTlet subsystem the body is already consumed and the request appears to be empty.
This happens only for POST requests with an application/www-form-urlencoded.