[Tickets #6904] Re: VFS_file::_getNativePath fails on Windows
bugs at horde.org
bugs at horde.org
Fri Jun 13 00:38:22 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/6904
-----------------------------------------------------------------------
Ticket | 6904
Updated By | Michael Rubinsky <mrubinsk at horde.org>
Summary | VFS_file::_getNativePath fails on Windows
Queue | Horde Framework Packages
Version | HEAD
Type | Bug
State | Assigned
Priority | 2. Medium
Milestone |
Patch |
Owners | Horde Developers
+New Attachment | vfs.diff
-----------------------------------------------------------------------
Michael Rubinsky <mrubinsk at horde.org> (2008-06-12 20:38) wrote:
> 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?
More information about the bugs
mailing list