Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Append slash to folder identifiers
This patch fixes the problem that fetching a folder via API and using that to upload a file put the file into the wrong folder: $folder = $storage->getFolder('myfolder'); $storage->addFile('/tmp/file.txt', $folder, 'file.txt'); //created "/myfolderfile.txt" instead of "/myfolder/file.txt" TYPO3's own `AbstractHierarchicalFilesystemDriver::canonicalizeAndCheckFolderIdentifier` appends slashes, and our `createFolder()` already returned identifiers with slashes at the end. Resolves: andersundsehr#146
- Loading branch information