6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6904] VFS_file::_getNativePath fails on Windows
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ . . __ ._. . [__)|\ |/ ` | | | | \|\__._|_\__|
Comment
> _getNativePath does not work on systems running php on top of MS Windows. > > > > The code > > > > if (substr($name, 0, 1) != '/') { > > $name = '/' . $name; > > } > > > > produces "/C:[...]", which in turn leads to a "Not a directory" error > > (e.g. in _listFolder). > > > > As the horde VFS lib is also included in the PEAR repository, this > issue concerns a broad range > > of users. > > > > A possible workaround could use the PHP_OS variable (or > PEAR::OS_Guess) for OS-dependent handling, or the realpath function > of php (why a custom UNIX-only function here?)
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers