Author: jacopoc
Date: Thu Feb 12 11:17:46 2015
New Revision: 1659224
URL:
http://svn.apache.org/r1659224Log:
Relaxing default behavior of canonicalization in order to allow mixed and multiple encodings: with this change, in these cases, instead of throwing an error it will simply log a worning message.
This should fix, at least as a temporary solution, the recent issues happening after the upgrade to the new ESAPI.
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilCodec.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilCodec.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilCodec.java?rev=1659224&r1=1659223&r2=1659224&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilCodec.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilCodec.java Thu Feb 12 11:17:46 2015
@@ -139,7 +139,7 @@ public class UtilCodec {
}
public static String canonicalize(String value) throws IntrusionException {
- return canonicalize(value, true, true);
+ return canonicalize(value, false, false);
}
public static String canonicalize(String value, boolean strict) throws IntrusionException {