CSV Product Import - Wrong URL/path used for attribute image in row
I was going to raise this as an issue on GitHub, but I guess the question is more whether this is actually a bug or not ...
I'm working on a migration from Zencart and the original site's media folder has been downloaded and we've written a custom importer.
The feedback from the product importer is very generic, but it turns out that the original media including a space in it's filename is an issue.
Specifically, the PATH_REGEXP within \Magento\CatalogImportExport\Model\Import\Product\Validator\Media.php doesn't allow for this.
Is there any reason for this restriction? Is this due to how different file systems may interpret special characters? If I alter the REGEX to allow for spaces, Magento2 parses the file successfully, and actually changes the filename to a more comfortable format (underscores instead of spaces)