Carsten Ziegeler created SLING-11703:
----------------------------------------

             Summary: DefaultErrorHandlerServlet should not write if response 
is already committed
                 Key: SLING-11703
                 URL: https://issues.apache.org/jira/browse/SLING-11703
             Project: Sling
          Issue Type: Improvement
          Components: Servlets
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Servlets Resolver 2.10.0


The DefaultErrorHandlerServlet is not checking whether the response is 
committed for html responses. It does so for JSON, but still writes the output 
which results in garbage.
The servlet shouldn't do anything if the response is already committed, except 
logging



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to