This is an automated email from the ASF dual-hosted git repository.
deepak 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 31a249cba3 Set default request/response character encoding to UTF-8
for Tomcat 9 (OFBIZ-13333)
31a249cba3 is described below
commit 31a249cba371a9fbbe9c005aae6aad5e36069795
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>