[wp-trac] [WordPress Trac] #15575: ftp upgrade fails on some system due to slash in remote destination

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 25 02:18:12 UTC 2010


#15575: ftp upgrade fails on some system due to slash in remote destination
---------------------------------+-----------------------------
 Reporter:  lordandrei           |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  Future Release
Component:  Filesystem           |     Version:  3.0
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.2-early  |
---------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-patch 3.2-early => has-patch 3.2-early


Comment:

 I've added `untrailingslashit()` to `class-wp-filesystem-ftpext.php` and
 `class-wp-filesystem-ftpsockets.php`. In `class-wp-filesystem-direct.php`
 and `class-wp-filesystem-ssh2.php` it's already there.

 Not sure about `class-ftp.php` and other functions like `rmdir()`. Should
 we use it there too?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15575#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list