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

Templates should not output any content to the client side when a sendRedirect has been called

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.5
    • Fix Version/s: 5.0-milestone-1
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Some container (like Jetty 8.1.9) will generate a warning in the logs when this happens and the spec says it shouldn't happen, see:

      http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletResponse.html#sendRedirect(String)

      "After using this method, the response should be considered to be committed and should not be written to."

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vmassol Vincent Massol
                Reporter:
                vmassol Vincent Massol
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: