Details
-
Bug
-
Resolution: Fixed
-
High
-
5.3.4, 5.4.1
-
None
Description
When a legacy siteaccess is configured with a URI part, and the index_page setting is used, accessing the index page will generate uris without the siteaccess uri part.
Reproducing:
Using the following example configuration:
siteaccess: match: Compound\LogicalAnd: ezdemo_site: matchers: Map\URI: demo: true Map\Host: www.host.local: true match: ezdemo_site Map\Host: admin.host.local: ezdemo_site_admin www.host.local: eng ... system: ezdemo_site: languages: - eng-GB legacy_mode: true index_page: content/dashboard default_page: content/dashboard
- (Optional): add an output of ezurl() call to legacy pagelayout:
<div> <h3>The the generated ezurl() is: {'content/action'|ezurl()}</h3> </div>
- Clear caches, access http://www.host.local/demo
Result:
The generated urls will NOT start with "/demo" as they should
For example, the uri for "content/action" should be "/demo/content/action"