Project

General

Profile

Actions

Bug #85249

closed

AbstractHierarchicalFilesystemDriver->getParentFolderIdentifierOfIdentifier fails on Windows

Added by Nicole Cordes almost 6 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2018-06-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Given:

- Windows system
- any third-party driver extending \TYPO3\CMS\Core\Resource\Driver\AbstractHierarchicalFilesystemDriver (e.g. aus_driver_amazon_s3)

Expectation:

- parent folder can be fetched by using \TYPO3\CMS\Core\Resource\Driver\AbstractHierarchicalFilesystemDriver::getParentFolderIdentifierOfIdentifier

Actual:

- PathUtility::dirname returns a path with Windows directory separator
- file identifier are expected to use slashes
- root identifier currently returns double slashes

Actions

Also available in: Atom PDF