Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7349

Plain Servlets registered with the org.apache.sling HTTP Context cannot get requests parameters from POST body

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Engine 2.6.10
    • Engine 2.6.12
    • Engine
    • None

    Description

      If a servlet is registered using the `org.apache.sling` context, e.g. using

      HttpWhiteboardConstants.HTTP_WHITEBOARD_CONTEXT_SELECT + "=(" + HttpWhiteboardConstants.HTTP_WHITEBOARD_CONTEXT_NAME + "=org.apache.sling)"
      

      and a POST is made to this servlet, any request parameters in the body of the POST return null when retrieved using `request.getParameter()`.

      Attachments

        Issue Links

          Activity

            People

              karlpauls Karl Pauls
              karlpauls Karl Pauls
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: