This is an automated email from the ASF dual-hosted git repository. pgil 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 4e4d714 Fixed: SeoConfigUtil does not maintain char-replace order (OFBIZ-12259) 4e4d714 is described below commit 4e4d7144f73f083e9e122591598d28fabec08c23 Author: Gil Portenseigne <p...@riseup.net> AuthorDate: Tue Jun 22 16:19:58 2021 +0200 Fixed: SeoConfigUtil does not maintain char-replace order (OFBIZ-12259) Thanks: Ingo Wolfmayr for your contribution --- .../src/main/java/org/apache/ofbiz/product/category/SeoConfigUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/applications/product/src/main/java/org/apache/ofbiz/product/category/SeoConfigUtil.java b/applications/product/src/main/java/org/apache/ofbiz/product/category/SeoConfigUtil.java index b6fbcba..28fbc99 100644 --- a/applications/product/src/main/java/org/apache/ofbiz/product/category/SeoConfigUtil.java +++ b/applications/product/src/main/java/org/apache/ofbiz/product/category/SeoConfigUtil.java @@ -23,6 +23,7 @@ import java.io.IOException; import java.net.URL; import java.util.HashMap; import java.util.HashSet; +import java.util.LinkedHashMap; import java.util.LinkedList; import java.util.List; import java.util.Locale; @@ -109,7 +110,7 @@ public final class SeoConfigUtil { forwardResponseCodes = new HashMap<String, Integer>(); userExceptionPatterns = new LinkedList<Pattern>(); specialProductIds = new HashMap<String, String>(); - charFilters = new HashMap<String, String>(); + charFilters = new LinkedHashMap<String, String>(); try { URL seoConfigFilename = UtilURL.fromResource(SEO_CONFIG_FILENAME); Document configDoc = UtilXml.readXmlDocument(seoConfigFilename, false);