[PATCH 3 of 3] Fixup rev. cd07130ded8d

Wald Commits scm-commit at wald.intevation.org
Thu Nov 2 18:01:33 CET 2023


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1698944368 -3600
#      Thu Nov 02 17:59:28 2023 +0100
# Branch 3.2.x
# Node ID 74bbf3c5d1ec62c7ff1ab1373d5b6cf87a3e4504
# Parent  13351afee6676b96da52c1d22a04b899626ceafc
Fixup rev. cd07130ded8d

... which missed to set the URIEncoding for the AJP connector.
This led to encoding errors in map printing if URL parameters
contained non-ASCII characters.

diff -r 13351afee667 -r 74bbf3c5d1ec docker/Dockerfile.gwt-client
--- a/docker/Dockerfile.gwt-client	Thu Nov 02 17:48:58 2023 +0100
+++ b/docker/Dockerfile.gwt-client	Thu Nov 02 17:59:28 2023 +0100
@@ -57,6 +57,8 @@
 
 # Configure tomcat
 RUN sed -i '/Connector port="8080"/a \URIEncoding="UTF-8"' /etc/tomcat/server.xml
+RUN sed -i 's/\(Connector port="8009"\)/\1 URIEncoding="UTF-8"/' \
+        /etc/tomcat/server.xml
 RUN ln -sf /opt/d4e/river/gwt-client/config/context.xml /etc/tomcat
 VOLUME /opt/d4e/river/gwt-client/config
 


More information about the Dive4Elements-commits mailing list