[ofbiz-framework] branch trunk 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 trunk 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 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 <[hidden email]>
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) {