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:46:19 UTC

[ofbiz-framework] branch release17.12 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 release17.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


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

commit 732172787ed51e65b30a654dfbcef90b5805077a
Author: Michael Brohl <mb...@apache.org>
AuthorDate: Fri Feb 7 16:45:57 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 a65237c..4e3d5b9 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
@@ -97,7 +97,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();
         public String encode(String original) {
             if (original == null) {