Hi,
UploadFileService->sanitizeFileNameAndPath() wants to explode "UploadManager::UPLOAD_FOLDER" from $uploadedFileName.
But media_upload/Resources/Private/Assets/JavaScript/MediaUpload.js removes the UPLOAD_FOLDER part from the filePath.
var basename = uri.replace("/typo3temp/MediaUpload/", "");
uploadedFiles.push(basename);
So $sanitizedFileNameAndPath is empty, because count($pathSegments) will not be 2.
Hi, UploadFileService->sanitizeFileNameAndPath() wants to explode "UploadManager::UPLOAD_FOLDER" from $uploadedFileName. But media_upload/Resources/Private/Assets/JavaScript/MediaUpload.js removes the UPLOAD_FOLDER part from the filePath. var basename = uri.replace("/typo3temp/MediaUpload/", ""); uploadedFiles.push(basename);
So $sanitizedFileNameAndPath is empty, because count($pathSegments) will not be 2.