Include 'hidden' directories in filesystem dirlist by default
|Reported by:||dd32||Owned by:||dd32|
|Component:||Filesystem API||Keywords:||has-patch needs-testing|
Description (last modified by dd32)
Ok, Seems theres a bit of a inconsistency between the return values of dirlist() when comparing FTP vs Direct/SSH2.
Direct and SSH2(which was based on the Direct class) include a check to see if '.' is the first character, If it does, And the $incdot param is false (as is default) it skips including the file in the return list
In short, The behavior is unexpected, And i think its whats causing some issues with upgrading plugins which were previously svn checkouts (including Akismet on SVN installs).
.htaccess files would also cause oddities like that while attempting to ugprade the plugin (It'd hit a Cannot remove plugin error)
Change History (9)
- Keywords has-patch needs-testing added; needs-patch removed
- Summary changed from Include 'hidden' directories in filesystem dirlist for Direct and SSH2 to Include 'hidden' directories in filesystem dirlist by default