In the Symfony Routing components, `CompiledUrlMatcher` and `UrlMatcher` interpret host and path information differently. For routes defining a host, `CompiledUrlMatcher` matches the combined string of `$host`, `.`, and `$pathinfo` against the host and path regular expressions, whereas `UrlMatcher` processes them separately. This discrepancy allows a host placeholder to match a `/` character and consume the start of the path, routing the request to a controller that `UrlMatcher` would not find. Consequently, path-based authorization rules, such as `access control` entries and firewall patterns, are evaluated against the actual request path and may not apply, potentially allowing unauthenticated requests to reach protected controllers. This issue affects applications using routes with host placeholders protected by path-based rules.