Dev estimate: 1
Test estimate: 1
The BrokerPropertiesMapper uses the parameterless version of getBytes to construct an array to pass to CodeHaus's JsonParser (via ObjectMapper). This is risky, because CodeHaus expects UTF-8, andgetBytes() uses the the platform's default charset.
To make this safe, need to change to getBytes("UTF8").
Dev estimate: 1
Test estimate: 1
The
BrokerPropertiesMapperuses the parameterless version ofgetBytesto construct an array to pass to CodeHaus'sJsonParser(viaObjectMapper). This is risky, because CodeHaus expects UTF-8, andgetBytes()uses the the platform's default charset.To make this safe, need to change to
getBytes("UTF8").