Skip to content

Commit

Permalink
BUGFIX: No uppercase characters allowed in node names
Browse files Browse the repository at this point in the history
The changed generation of node names must avoid uppercase characters.

This is a followup to neos/neos-development-collection#1523
  • Loading branch information
kdambekalns committed Apr 12, 2017
1 parent 0bf3296 commit 4765297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/TYPO3/Neos/Service/NodeNameGenerator.php
Expand Up @@ -56,7 +56,7 @@ protected function generatePossibleNodeName($idealNodeName = null)
if ($idealNodeName !== null) {
$possibleNodeName = \TYPO3\TYPO3CR\Utility::renderValidNodeName($idealNodeName);
} else {
$possibleNodeName = 'node-' . Algorithms::generateRandomString(13);
$possibleNodeName = 'node-' . Algorithms::generateRandomString(13, 'abcdefghijklmnopqrstuvwxyz0123456789');
}

return $possibleNodeName;
Expand Down

0 comments on commit 4765297

Please sign in to comment.