Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1983

WebConsole HttpContext should flush response after setting response status

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • webconsole-2.0.4
    • webconsole-2.0.6
    • Web Console
    • None

    Description

      The Web Console uses its own HttpContext implementation to handle authentication. When authentication is missing, it sets (or currently sendError) the response status 401/UNAUTHENTICATED but does not flush the response.

      The Felix Http Base code overwrites this to 403/FORBIDDEN if the response is not committed.

      So to ensure, the correct status is really sent, the handleSecurity implementation must flush the response.

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: