netty5/codec-http/src/main
noSim e8c2986cf1 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:16:12 +02:00
..
java/io/netty/handler/codec Fix HttpUtil.getCharset to not throw illegal charset exception (#9439) 2019-08-10 19:16:12 +02:00
resources/META-INF/native-image/io.netty/codec-http Remove deprecated GraalVM native-image flags (#9118) 2019-05-22 19:22:03 +02:00