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 seeing how *this* code block would produce that since it's > the file name and it gets appended to the actual path further down in > the code...and it's *that* code that probably is causing the results > your seeing. Does wrapping the return values in realpath() as in the > attached patch solve the issue for you? > >
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