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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

mbrohl
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 <[hidden email]>
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) {