Core and composer updates
This commit is contained in:
parent
a82634bb98
commit
62cac30480
1118 changed files with 21770 additions and 6306 deletions
|
@ -108,7 +108,7 @@ class Candidates implements CandidatesInterface
|
|||
}
|
||||
|
||||
$matches = array();
|
||||
if (preg_match('#('.implode('|', $this->locales).')(/|$)#', $url, $matches)) {
|
||||
if (preg_match('#^/('.implode('|', $this->locales).')(/|$)#', $url, $matches)) {
|
||||
return $matches[1];
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue