1
0
Fork 0

Do not split repo names on dots, fixes #6424

pull/6435/head
Jordi Boggiano 2017-05-21 17:15:27 +02:00
parent 2eb69cd679
commit d7b2e42fa9
1 changed files with 2 additions and 2 deletions

View File

@ -184,7 +184,7 @@ class JsonManipulator
$decoded = JsonFile::parseJson($this->contents);
$subName = null;
if (in_array($mainNode, array('config', 'repositories', 'extra')) && false !== strpos($name, '.')) {
if (in_array($mainNode, array('config', 'extra')) && false !== strpos($name, '.')) {
list($name, $subName) = explode('.', $name, 2);
}
@ -304,7 +304,7 @@ class JsonManipulator
}
$subName = null;
if (in_array($mainNode, array('config', 'repositories', 'extra')) && false !== strpos($name, '.')) {
if (in_array($mainNode, array('config', 'extra')) && false !== strpos($name, '.')) {
list($name, $subName) = explode('.', $name, 2);
}