Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3299

ConversionFilter wipes out POST requests making RESTlet unable to process the request body.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.8, 1.9 M1
    • 1.8 RC2
    • WYSIWYG Editor
    • 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.

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            fmancinelli Fabio Mancinelli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: