[BUGFIX] Detect unix-styled absolute paths on Windows systems 24/24724/2
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:39:31 +0000 (11:39 +0200)
commit50942c216c7533da2654991533aaa887b1fbc46d
tree9754544867c3f64903f71270821b5678edaafdb1
parent2889f13e8776eaa6cd8259056b7bc190cab7a017
[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/24724
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Classes/Utility/PathUtility.php