Core and composer updates

This commit is contained in:
Rob Davies 2017-07-03 16:47:07 +01:00
parent a82634bb98
commit 62cac30480
1118 changed files with 21770 additions and 6306 deletions

View file

@ -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];
}

View file

@ -1,6 +1,6 @@
# Symfony CMF Routing Component
[![Build Status](https://secure.travis-ci.org/symfony-cmf/Routing.png?branch=master)](http://travis-ci.org/symfony-cmf/Routing)
[![Build Status](https://travis-ci.org/symfony-cmf/routing.svg?branch=master)](https://travis-ci.org/symfony-cmf/routing)
[![Latest Stable Version](https://poser.pugx.org/symfony-cmf/routing/version.png)](https://packagist.org/packages/symfony-cmf/routing)
[![Total Downloads](https://poser.pugx.org/symfony-cmf/routing/d/total.png)](https://packagist.org/packages/symfony-cmf/routing)