[BUGFIX] PHP filesystem functions are locale dependent 77/18577/3
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 13:03:04 +0000 (15:03 +0200)
commit2f72201121299bbcc10de28acf0dc1656decc08e
tree0c33eab0dce5d1e00e29aa3cfd2332294cbbc311
parent3d6432957e1096eb89622eb6bc3039f7775e767c
[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/18577
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/ImageProcessingService.php
typo3/sysext/core/Classes/Resource/Service/MagicImageService.php
typo3/sysext/core/Classes/Utility/PathUtility.php