Details
-
Bug
-
Resolution: Fixed
-
High
-
Customer request, 5.1, 5.2 Certification, 2013.09
-
Up to date github version
Description
This is a regression from EZP-21668.
When using Map\Host for siteaccess matching, generated links from Location objects lack the leading /.
Steps to reproduce
With the following config, and using DemoBundle:
ezpublish: siteaccess match: Map\Host: admin.ezpublish5.loc: ezdemo_site_admin ezpublish5.loc: ezdemo_site_user
The links in the top menu of the demo design are wrong when the user is on a page with some view parameters.
- Go to /Blog
- Click on the next link in the calendar
- Click on any element of the top menu
The link points to /Blog/(month)/11/(year)/Something instead of /Something
Note: the same issue is also valid for the Latest news links in the footer