Loading src/HttpKernel/CountryPathProcessor.php +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ class CountryPathProcessor implements InboundPathProcessorInterface, OutboundPat return $path; } if (preg_match('/^\/' . $domain_suffix . '/i', $path, $matches)) { if (preg_match('/^\/' . $domain_suffix . '(\/|$)/i', $path, $matches)) { $path = preg_replace('@^/' . $domain_suffix . '(.*)@', '$1', $path); } Loading Loading
src/HttpKernel/CountryPathProcessor.php +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ class CountryPathProcessor implements InboundPathProcessorInterface, OutboundPat return $path; } if (preg_match('/^\/' . $domain_suffix . '/i', $path, $matches)) { if (preg_match('/^\/' . $domain_suffix . '(\/|$)/i', $path, $matches)) { $path = preg_replace('@^/' . $domain_suffix . '(.*)@', '$1', $path); } Loading