Fixed: Double encoded urls are not being decoded (OFBIZ-11822)
This was broken by OFBIZ-10275 Thanks: Alex Bodnaru
This commit is contained in:
@@ -240,7 +240,7 @@ public class UtilCodec {
|
||||
|
||||
public String decode(String original) {
|
||||
try {
|
||||
canonicalize(original);
|
||||
original = canonicalize(original);
|
||||
return URLDecoder.decode(original, "UTF-8");
|
||||
} catch (UnsupportedEncodingException ee) {
|
||||
Debug.logError(ee, module);
|
||||
|
||||
Reference in New Issue
Block a user