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

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


The following commit(s) were added to refs/heads/release24.09 by this push:
     new f421154991 Set default request/response character encoding to UTF-8 
for Tomcat 9 (OFBIZ-13333)
f421154991 is described below

commit f42115499129462e6b2f8223c09c9e57a9e793e2
Author: Deepak Dixit <[email protected]>
AuthorDate: Wed Jan 7 15:17:08 2026 +0530

    Set default request/response character encoding to UTF-8 for Tomcat 9 
(OFBIZ-13333)
    
    Added request-character-encoding and response-character-encoding entries
    to the default Catalina web.xml configuration.
    
    This prevents issues with non-ASCII characters
    (e.g., accented characters) being incorrectly decoded.
---
 framework/catalina/config/web.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/framework/catalina/config/web.xml 
b/framework/catalina/config/web.xml
index 02d5970162..aa6416f21b 100644
--- a/framework/catalina/config/web.xml
+++ b/framework/catalina/config/web.xml
@@ -25,4 +25,6 @@
         <tracking-mode>COOKIE</tracking-mode>
     </session-config>
 
+    <request-character-encoding>UTF-8</request-character-encoding>
+    <response-character-encoding>UTF-8</response-character-encoding> 
 </web-app>

Reply via email to