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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 5.0-milestone-1
    • 4.5
    • Old Core
    • None
    • Unknown
    • N/A
    • N/A

    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

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

              Dates

                Created:
                Updated:
                Resolved: