netty5/codec-http/src/test
Andrey Mizurov b17371c198 Fix indexOutOfBoundsException when multipart/form-data is incorrect value (#9688)
Motivation:

HttpPostRequestDecoder.splitHeaderContentType() throws a StringIndexOutOfBoundsException when it parses a Content-Type header that starts with a semicolon ;. We should skip the execution for incorrect multipart form data.


Modification:

Avoid invocation of HttpPostRequestDecoder#splitHeaderContentType(...) for incorrect multipart form data content-type.

Result:

Fixes #8554
2019-10-23 09:03:40 +02:00
..
java/io/netty/handler/codec Fix indexOutOfBoundsException when multipart/form-data is incorrect value (#9688) 2019-10-23 09:03:40 +02:00
resources Preserve the original filename when encoding a multipart/form in mixed mode. (#9270) 2019-06-24 10:40:39 +02:00