[BUGFIX] Detect unix-styled absolute paths on Windows systems 21/24721/3
authorNicole Cordes <typo3@cordes.co>
Mon, 14 Oct 2013 08:12:34 +0000 (10:12 +0200)
committerNicole Cordes <typo3@cordes.co>
Mon, 14 Oct 2013 09:38:58 +0000 (11:38 +0200)
commit976971de2eff2e9714589ac5075b7297be1870f5
treec5a0f35ed6c8b0a5f226a3a4feacbf530e549bee
parentf0ee66cb62a75ec7187307eb85ff87bf5649973d
[BUGFIX] Detect unix-styled absolute paths on Windows systems

Currently PathUtility::isAbsolutePath and GeneralUtility::isAbsPath
only the for ":\" to detect absolute paths on Windows systems. This
patch provides even ":/" as unix-styled paths are mostly used now.

Resolves: #52773
Releases: 6.2, 6.1, 6.0
Change-Id: I1e132bbe74394861af4bf02a22287c9496953150
Reviewed-on: https://review.typo3.org/24721
Reviewed-by: Thomas Maroschik
Reviewed-by: Wouter Wolters
Reviewed-by: Sascha Egerer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Classes/Utility/PathUtility.php