Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-80138

Plugins cannot opt out of Struts request filtering

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 8.0.0
    • 8.0.0
    • Server - Platform

    Description

      Issue Summary

      The Struts request filter consumes the incoming request stream which prevents it from being consumed again.

      Currently only /rest/* is exempt from Struts request filtering - however plugins may only register servlets which map to /plugins/servlet/.

      Note: This was not an issue in Confluence 7 as WebWork was a mapped Servlet as opposed to a filter.

      Steps to Reproduce

      1. Create a servlet and attempt to consume multipart request stream

      Expected Results

      Read request stream

      Actual Results

      Unreadable

      Workaround

      N/A

      Attachments

        Activity

          People

            854eef6f5746 Kusal Kithul-Godage
            854eef6f5746 Kusal Kithul-Godage
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: