Applied fix from trunk for revision: 1826592

===

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/branches/release17.12@1826594 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Brohl
2018-03-12 21:45:38 +00:00
parent b369039080
commit 9ff8084577
@@ -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;