arturobernalg opened a new pull request, #1164:
URL: https://github.com/apache/tomcat/pull/1164

   RFC 2046 section 5.1.1: "The boundary delimiter MUST NOT appear inside any 
of the encapsulated parts".
   
   `DefaultServlet` always used `CATALINA_MIME_BOUNDARY` for multi-range 
responses. A resource containing `--CATALINA_MIME_BOUNDARY` followed by part 
headers makes the client see an additional, forged part (with its own 
Content-Type and Content-Range) in the response.
   
   This generates a random boundary per response. `mimeSeparation` is removed 
and `copy()` takes the boundary as a parameter.
   
   The new test fails without the change and passes with it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to