netty5/codec-http
Nitesh Kant df1d4dcd10 HttpUtil#normalizeAndGetContentLength() should handle empty value (#11409)
__Motivation__

`HttpUtil#normalizeAndGetContentLength()` throws `StringIndexOutOfBoundsException` for empty `content-length` values, it should instead throw `IllegalArgumentException` for all invalid values.

__Modification__

- Throw `IllegalArgumentException` if the `content-length` value is empty.
- Add tests

__Result__

Fixes https://github.com/netty/netty/issues/11408
2021-06-23 12:07:28 +02:00
..
src HttpUtil#normalizeAndGetContentLength() should handle empty value (#11409) 2021-06-23 12:07:28 +02:00
pom.xml Introduce BrotliDecoder (#10960) 2021-05-10 15:39:01 +02:00