netty5/codec-http/src/test
noSim cbc8fc4428 Fix HttpUtil.getCharset to not throw illegal charset exception (#9439)
Motivation:

If the HttpUtil.getCharset method is called with an illegal charset like
"charset=!illegal!" it throws an IllegalCharsetNameException. But the javadoc
states, that defaultCharset is returned if incorrect header value. Since the
client sending the request sets the header value this should not crash.

Modification:

HttpUtil.getCharset catches the IllegalCharsetNameException and returns the
defualt value.

Result:

HttpUtil.getCharset does not throw IllegalCharsetNameException any more.
2019-08-10 19:23:40 +02:00
..
java/io/netty/handler/codec Fix HttpUtil.getCharset to not throw illegal charset exception (#9439) 2019-08-10 19:23:40 +02:00
resources Preserve the original filename when encoding a multipart/form in mixed mode. (#9270) 2019-06-24 10:40:17 +02:00