Branch: refs/heads/master
Home:
https://github.com/resteasy/Resteasy
Commit: e98a722a09c4c6f6095f25afefd6104421cdd8c2
https://github.com/resteasy/Resteasy/commit/e98a722a09c4c6f6095f25afefd61...
Author: Sven-Torben Janus <sventorben(a)users.noreply.github.com>
Date: 2019-04-05 (Fri, 05 Apr 2019)
Changed paths:
M resteasy-core/src/main/java/org/jboss/resteasy/mock/MockHttpResponse.java
Log Message:
-----------
[RESTEASY-2215] resteasy-core/MockHttpResponse: Fix charset detection (#1922)
Given a Content-Type header with additional parameters after the charset
parameter, then the detected charset also contains the other parameters.
For example 'application/json;charset=UTF-8;version=1.0' would lead to a
charset of 'UTF-8;version=1.0'.
This commit fixes this issues by using the semicolon as a separator.