|
|
@ -75,8 +75,7 @@ public class PolarisFeignLoadBalancer extends FeignLoadBalancer {
|
|
|
|
Map<String, String> labelHeaderValuesMap = new HashMap<>();
|
|
|
|
Map<String, String> labelHeaderValuesMap = new HashMap<>();
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
String labelHeaderValuesContent = labelHeaderValues.stream().findFirst().get();
|
|
|
|
String labelHeaderValuesContent = labelHeaderValues.stream().findFirst().get();
|
|
|
|
labelHeaderValuesMap.putAll(JacksonUtils.deserialize2Map(URLDecoder.decode(labelHeaderValuesContent,
|
|
|
|
labelHeaderValuesMap.putAll(JacksonUtils.deserialize2Map(URLDecoder.decode(labelHeaderValuesContent, StandardCharsets.UTF_8.name())));
|
|
|
|
StandardCharsets.UTF_8.name())));
|
|
|
|
|
|
|
|
} catch (UnsupportedEncodingException e) {
|
|
|
|
} catch (UnsupportedEncodingException e) {
|
|
|
|
throw new RuntimeException("unsupported charset exception " + StandardCharsets.UTF_8.name());
|
|
|
|
throw new RuntimeException("unsupported charset exception " + StandardCharsets.UTF_8.name());
|
|
|
|
}
|
|
|
|
}
|
|
|
|