Defect HC-19522

Redirects are not formed using the context root specified in wc-server.xml


Customer case Applies to Corrected in
CS0309413 V9.1.8.0

Observed behavior

When a custom context root is defined in the wc-server.xml file, any links that are performing a redirect are not constructed with the custom context root that has been defined. It is using the full context root instead.

Expected behavior

The custom context root should always be used when its value is specified.


The code was updated to use the rewrite rule, if found, from the SEO Configuration Registry for the custom context root.