#52334array2xml removes dots from tag names
Description
If an array key contains a dot it will be removed when using array2xml method of TYPO3\CMS\Core\Utility\GeneralUtility. The reason for this is the following line of code
@
// The tag name is cleaned up so only alphanumeric chars (plus – and _) are in there and not longer than 100 chars either.
$tagName = substr(preg_replace(‘/[^[:alnum:]_-]/’, ‘’, $tagName), 0, 100);
@
The dot is an allowed character for a xml tag name (see: http://www.w3.org/TR/REC-xml/#NT-NameChar ).
Expected result: Dots remain in the tag name when using array2xml.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.