Details
-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
3.3.0
Description
Steps to reproduce
- Create a new Site via SiteFactory
- In the front-end template of that Site try to generate an URL (using for instance ez_path() Twig function)
- Display the page. Observe that every link has duplicated / after the domain.
Result
System returns 404.
Potential patch (not sure if this is the correct approach though)
--- vendor/ezsystems/ezplatform-site-factory/src/lib/SiteAccessMatcher.php +++ vendor/ezsystems/ezplatform-site-factory/src/lib/SiteAccessMatcher.php @@ -106,4 +106,9 @@ final class SiteAccessMatcher extends URI implements Matcher, JsonSerializable return parent::analyseURI($uri); } + + public function analyseLink($linkUri) + { + return $linkUri; + } }