Details
-
Bug
-
Resolution: Fixed
-
High
-
5.1, 5.2-beta1
-
None
-
ezp 5 using a Map\URI matcher
Description
test case:
setup the ezpublish.yml with a matcher such as:
match: Map\URI: eng: eng the_admin: the_admin
with this configuration, the result is these broken behaviors:
- content that begins with the same string as the siteaccess will result in a kernel error.
example: site.host.name/eng/eng-content - the siteaccess name is repeatable. for example, given an object named "test", these are accepted urls:
- site.host.name/eng/test
- site.host.name/eng/eng/test
- site.host.name/eng/eng/eng/eng/eng/test
they all point to the same object
- usage of twig operator path( location ) or other other path() variants with a location where the url has this structure:
site.host.name/<SA_name>/<string that includes SA_name>, will result in urls lacking the <SA_name> part.
example: calling a path(...) for an object with url:
site.host.name/eng/an-eng-article
will result in a url:
site.host.name/an-eng-article