projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Backup of db before drupal security update
[yaffs-website]
/
vendor
/
symfony-cmf
/
routing
/
Candidates
/
Candidates.php
diff --git
a/vendor/symfony-cmf/routing/Candidates/Candidates.php
b/vendor/symfony-cmf/routing/Candidates/Candidates.php
index 21bef551428ca12d77fe5c41172125a82293ce98..b0a3ab4cafa82a9d6b7d0f46c6ebc9909bb3f672 100644
(file)
--- a/
vendor/symfony-cmf/routing/Candidates/Candidates.php
+++ b/
vendor/symfony-cmf/routing/Candidates/Candidates.php
@@
-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];
}