]> granicus.if.org Git - php/commit
Fix bug #77680: Correctly implement recursive mkdir on FTP stream
authorVlad Temian <vladtemian@gmail.com>
Tue, 19 Mar 2019 16:36:45 +0000 (18:36 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 25 Mar 2019 16:43:46 +0000 (17:43 +0100)
commitec2ecb7e12b96f8f95af2885d173a0d46c88e190
tree402e98dbd3fbe6f2a13d964857910941016a4076
parent85095dfd0956bc09f5157211948c40cfa2859d27
Fix bug #77680: Correctly implement recursive mkdir on FTP stream

If the root directory was missing, an extra CWD without arguments was
made. Also, the MKD contained an empty string.

Now the CWD will use / and MKDs will be issued starting from the root
directory.
NEWS
ext/ftp/tests/server.inc
ext/standard/ftp_fopen_wrapper.c
ext/standard/tests/streams/bug77680.phpt [new file with mode: 0644]