You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the files are uploaded to the server, all spaces are replaced with an underscore. But the xml files retain the original file name with the space. You can do a mass replace easily enough on the xml to fix the issue, but ideally the spaces should be replaced in the output xml file as well.
The text was updated successfully, but these errors were encountered:
A solution could be to comment row 375 of file concrete/src/File/Service/File.php in the function "sanitize" before to start uploading files. This permit to finish the migration process. Naturally is a trick and not a definitive solution. This maintain the name of files with spaces.
This is the row (Concrete5 v. 5.8) that change in the URL of files the underscore "_" instead of space character. $asciiName = trim(preg_replace(["/[\\s]/", "/[^0-9A-Z_a-z-.]/"], ["_", ""], $asciiName));
When the files are uploaded to the server, all spaces are replaced with an underscore. But the xml files retain the original file name with the space. You can do a mass replace easily enough on the xml to fix the issue, but ideally the spaces should be replaced in the output xml file as well.
The text was updated successfully, but these errors were encountered: