[BUGFIX] PHP filesystem functions are locale dependent 44/19444/6
authorSteffen Ritter <info@rs-websystems.de>
Sun, 3 Mar 2013 18:46:38 +0000 (19:46 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 1 Apr 2013 12:55:48 +0000 (14:55 +0200)
commit01fbf2e14b170f0f447d69a2c5e819edf852917c
treebb44f3868c5aefa782c1480bce926d9e48a0161e
parent024bc6cf466e9540dcd4c64a65b43a9e7e345c3d
[BUGFIX] PHP filesystem functions are locale dependent

PHP filesystem functions like pathinfo, dirname and
basename are dependent on the locale set in PHP.
If one enables UTF8filesystem in the install tool, he may
use non-ascii characters in filenames and directory names.
For this to work properly you need to configure
SystemLocale, too.

The file abstraction layer classes need to take care of
the SystemLocale; to avoid code duplication new static
wrapper functions have been introduced.

Change-Id: I635e18d7ed08d928c6c4e427c0348dd46d9c5900
Releases: 6.0, 6.1
Resolves: #45982
Reviewed-on: https://review.typo3.org/19444
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/core/Classes/Resource/AbstractFile.php
typo3/sysext/core/Classes/Resource/Driver/AbstractDriver.php
typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php
typo3/sysext/core/Classes/Resource/Folder.php
typo3/sysext/core/Classes/Resource/ResourceCompressor.php
typo3/sysext/core/Classes/Resource/ResourceFactory.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Classes/Resource/Service/MagicImageService.php
typo3/sysext/core/Classes/Utility/PathUtility.php