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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user