[wp-trac] [WordPress Trac] #33058: $wp_filesystem->exists('') returns a wrong answer (when FS_METHOD='ftpext').

WordPress Trac noreply at wordpress.org
Sun Mar 12 15:10:26 UTC 2023


#33058: $wp_filesystem->exists('') returns a wrong answer (when
FS_METHOD='ftpext').
-------------------------------------------------+-------------------------
 Reporter:  Zdrobau                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.3
Component:  Filesystem API                       |     Version:  2.5
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-         |     Focuses:
  testing-info                                   |
-------------------------------------------------+-------------------------

Comment (by pbiron):

 == Test Report

 Windows 11
 Apache 2.4.53
 FileZilla Server (FTP)

 == Before Patch Applied

 {{{
 Filesystem method: direct
 Empty path exists: No

 Filesystem method: ftpext
 Empty path exists: Yes

 Filesystem method: ftpsockets
 Empty path exists: Yes
 }}}

 == After Patch Applied

 {{{
 Filesystem method: direct
 Empty path exists: No

 Filesystem method: ftpext
 Empty path exists: No

 Filesystem method: ftpsockets
 Empty path exists: No
 }}}

 LGTM

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/33058#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list