[ofbiz-framework] branch release17.12 updated: Fixed: baseEcommerceSecureUrl does not work in ecomseo. (OFBIZ-11267)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch release17.12 updated: Fixed: baseEcommerceSecureUrl does not work in ecomseo. (OFBIZ-11267)

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch release17.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release17.12 by this push:
     new 38fd13e  Fixed: baseEcommerceSecureUrl does not work in ecomseo. (OFBIZ-11267)
38fd13e is described below

commit 38fd13edbecc2c729e6c53ed36cd2f9df965f7de
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Sat Nov 2 09:43:08 2019 +0100

    Fixed: baseEcommerceSecureUrl does not work in ecomseo.
    (OFBIZ-11267)
   
    This fixes it by introducing a new pattern in SeoConfig.xml
   
    (cherry picked from commit 8f4cfeb95185685204e04e778e915b1027234562)
---
 applications/commonext/config/SeoConfig.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/applications/commonext/config/SeoConfig.xml b/applications/commonext/config/SeoConfig.xml
index 65bcea9..0462ed4 100644
--- a/applications/commonext/config/SeoConfig.xml
+++ b/applications/commonext/config/SeoConfig.xml
@@ -90,6 +90,19 @@ under the License.
                 <responsecode>301</responsecode>
             </forward>
         </url-config>
+        
+        <url-config>
+            <description>sample: remove /control in baseEcommerceSecureUrl (OFBIZ-11267)</description>
+            <url-pattern>^/ecomseo/control/(.*)$</url-pattern>
+            <seo>
+                <replacement>/ecomseo/$1</replacement>
+            </seo>
+            <forward>
+                <replacement>/ecomseo/$1</replacement>
+                <responsecode>301</responsecode>
+            </forward>
+        </url-config>
+        
     </url-configs>
 
     <char-filters>