[wp-trac] [WordPress Trac] #51170: FTP automatic updates are not RFC 959 compliant for NLST command

WordPress Trac noreply at wordpress.org
Fri Nov 11 15:53:33 UTC 2022


#51170: FTP automatic updates are not RFC 959 compliant for NLST command
----------------------------+-----------------------
 Reporter:  giox069         |       Owner:  audrasjb
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  6.1
Component:  Filesystem API  |     Version:  3.7
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------

Comment (by desrosj):

 In [changeset:"54815" 54815]:
 {{{
 #!CommitTicketReference repository="" revision="54815"
 Filesystem: Return FTP/FTP Sockets `exists()` methods to a previous state.

 This partially reverts [53860] and [53862], which refactored the
 `exists()` method to rely on `ftp_rawlist()` instead of `ftp_nlist()`.

 [53860] makes a similar attempt to the ones made in [33648] and [34733]
 (which were also reverted in [35944]). Being compliant with the
 specifications while continuing to work without issue for all FTP servers
 continues seem impossible. These little ghosts are the ones we’re scared
 of the most.

 Props jsh4, afragen, costdev, pkolenbr, SergeyBiryukov, dd32,
 peterwilsoncc, gamecreature, desrosj.
 Fixes #56966.
 See #51170, #28013.
 }}}

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


More information about the wp-trac mailing list