ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mbr...@apache.org
Subject [ofbiz-framework] branch release18.12 updated: Fixed: Form widget field with input-method="time-dropdown" unable to understand the default time. (OFBIZ-11150)
Date Fri, 07 Feb 2020 15:37:59 GMT
This is an automated email from the ASF dual-hosted git repository.

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


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

commit 91d136bb3e277196ef1e9639b4ad7be1ac357a3e
Author: Michael Brohl <mbrohl@apache.org>
AuthorDate: Fri Feb 7 16:36:42 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 0702bb8..7c7535b 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
@@ -98,7 +98,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) {


Mime
View raw message