fix: #3614360 Add commas to allowed types list on file upload fields
Closes #3614360
Restores the comma-delimited Allowed types list that was lost when webform_preprocess_file_upload_help() was rewritten in 6.3.x.
WebformManagedFileBase::prepare()now converts the display-only copy of theFileExtensionvalidator to a comma-delimited list before passing it tofile_upload_help. Validation continues to use the space-delimited list required byFileExtensionConstraintValidator.getFileExtensions()now removes duplicate separators, so values liketxt, pdfno longer becometxt pdf, which previously rendered astxt, , pdfand brokeexplode(' ', ...)ingetTestValues().
Tests: Updated the assertion in WebformElementManagedFileTest and added a managed_file_extensions_comma element to the test fixture. Not run locally; relying on CI.
Edited by Alan Rueda