netty5/codec-http
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
..
src Fix HttpUtil.getCharset to not throw illegal charset exception (#9439) 2019-08-10 19:23:40 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2019-07-24 09:05:57 +00:00