Fixed: UtilCodec URL decoding breaks values with german umlauts.

(OFBIZ-10275)

Thanks Martin Becker for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826592 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Brohl
2018-03-12 21:43:48 +00:00
parent 48f9957831
commit aebec6aafc
@@ -173,8 +173,8 @@ public class UtilCodec {
public String decode(String original) {
try {
String canonical = canonicalize(original);
return URLDecoder.decode(canonical, "UTF-8");
canonicalize(original);
return URLDecoder.decode(original, "UTF-8");
} catch (UnsupportedEncodingException ee) {
Debug.logError(ee, module);
return null;