Bug #32697
Files::is_link() returns TRUE for vfs paths on Windows
Status: | Resolved | Start date: | 2011-12-19 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Bastian Waidelich | % Done: | 100% |
|
Category: | Utility | |||
Target version: | TYPO3 Flow Base Distribution - 1.1 beta 1 | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | Git master |
Description
\TYPO3\FLOW3\Utility\Files::is_link()
was introduced to circumvent PHPs buggy behavior with Symlinks on Windows (see http://bugs.php.net/bug.php?id=51766).
This work around does not work for stream wrappers. That breaks some unit tests making use of vfs paths.
Associated revisions
[BUGFIX] Files::is_link() returns TRUE for vfs paths on Windows
This adds a check to \TYPO3\FLOW3\Utility\Files::is_link() that
prevents the method from returning TRUE for virtual paths
(e.g. streamwrapper like "vfs://").
Change-Id: I504db4e336347873163827da4f824fb416c39a65
Fixes: #32697
Releases: 1.1
History
#1 Updated by Gerrit Code Review over 3 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7390
#2 Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7390
#3 Updated by Bastian Waidelich over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset fdd78845379a1e9b76a1519e4e363a01edbcba4a.
#4 Updated by Karsten Dambekalns over 3 years ago
- Target version changed from 1.1 to 1.1 beta 1