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
>> 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. > > > > Well, according to the realpath() documentation, one of the points of > realpath() is to convert unix-style to windows style when > appropriate, so the result of realpath should be a windows friendly > path. > > > > ..but another thought *did* occur to me, that realpath() seems to > actually perform a file_exists check on the path and returns FALSE if > it's not found (unless your on a BSD system - in which case it will > only return false if the path minus the trailing /xxx doesn't exist). > So.... I don't think this function is a viable option as it will > break a lot of our VFS functionality.
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