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
>>> if (substr($name, 0, 1) != '/') { > >>> $name = '/' . $name; > >>> } > >>> > >>> produces "/C:[...]", which in turn leads to a "Not a directory" error > >>> (e.g. in _listFolder). > > > > I'm not an expert on this, but Windows uses '\' instead of '/' as > directory separator. You can see an example output if you look at the > documentation of realpath() in the comments here: > http://php.net/manual/de/function.realpath.php. > > Maybe PHP accepts path using C:\ and C:/ notation, but our path > building function is still wrong and will compute wrong paths, no? > >
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