It has been verified that the URIElement siteaccess matcher passes a wrong value when the setting value defined in ezpublish.yml is grater than 1.
1. Prepare a test eZ Publish 5.4 installation, fully updated to 5.4.5;
2. Edit ezpublish/config/ezpublish.yml, and set the URIElement matcher to a value greater than 1:
3. Edit /vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/SiteAccess/Matcher/URIElement.php and add the following debug code:
4. Visit a siteaccess. A "int(2)" debug message would be expected, instead "int(1)" is displayed.