You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mb...@apache.org on 2020/02/07 15:37:18 UTC

[ofbiz-framework] branch trunk updated: Fixed: Form widget field with input-method="time-dropdown" unable to understand the default time. (OFBIZ-11150)

This is an automated email from the ASF dual-hosted git repository.

mbrohl pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new fc21237  Fixed: Form widget field with input-method="time-dropdown" unable to understand the default time. (OFBIZ-11150)
fc21237 is described below

commit fc21237feeb8e9a6b7d8af52e618d4e6dfaef8bb
Author: Michael Brohl <mb...@apache.org>
AuthorDate: Fri Feb 7 16:36:10 2020 +0100

    Fixed: Form widget field with input-method="time-dropdown" unable to
    understand the default time.
    (OFBIZ-11150)
    
    Thanks Wiebke Pätzold for reporting and providing the patch.
---
 framework/base/src/main/java/org/apache/ofbiz/base/util/UtilCodec.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilCodec.java b/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilCodec.java
index 7e57fce..988edb7 100644
--- a/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilCodec.java
+++ b/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilCodec.java
@@ -99,7 +99,7 @@ public class UtilCodec {
     }
 
     public static class HtmlEncoder implements SimpleEncoder {
-        private static final char[] IMMUNE_HTML = {',', '.', '-', '_', ' '};
+        private static final char[] IMMUNE_HTML = {',', '.', '-', '_', ' ', ':'};
         private HTMLEntityCodec htmlCodec = new HTMLEntityCodec();
         @Override
         public String encode(String original) {