Nikita Popov
6122f67492
Merge branch 'PHP-7.2' into PHP-7.3
2018-09-04 04:57:13 +02:00
Nikita Popov
fcf78dfb89
Merge branch 'PHP-7.1' into PHP-7.2
2018-09-04 04:55:15 +02:00
Ville Hukkamaki
742783c3ee
Fixed bug #73457
...
Correctly report errors when opening FTP data connection.
2018-09-04 04:53:38 +02:00
Peter Kokot
8d3f8ca12a
Remove unused Git attributes ident
...
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
2018-07-25 00:53:25 +02:00
Dmitry Stogov
265c3ed6cf
Fixed incorrrecr zval_dtor() usage to replace value of argument passed by reference, that may lead to memory leaks.
2018-07-05 10:57:49 +03:00
Nikita Popov
ad87e2bd6a
Merge branch 'PHP-7.2'
2018-03-23 18:57:58 +01:00
atvoicu
17ed2f21cf
Add missing skip prefix for some SKIPIF messages
2018-03-23 18:56:36 +01:00
Christoph M. Becker
d5f84fb9c5
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix some arginfos
2018-02-23 11:32:18 +01:00
Christoph M. Becker
c6cf3d4ada
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix some arginfos
2018-02-23 11:29:21 +01:00
Gabriel Caruso
0b8cfa6c78
Fix some arginfos
...
* all arguments for ftp_pasv are required
* $varname for getenv function isn't required anymore
* fsockopen and pfsockopen only require $hostname
* strtok can work with only one parameter
* strpbrk needs two parameters to work
* required parameters and add some parameters in openssl_* functions
2018-02-23 11:27:14 +01:00
Gabriel Caruso
ded3d984c6
Use EXPECT instead of EXPECTF when possible
...
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00
Gabriel Caruso
5153413ed4
Test more functions of ftp
2018-02-19 08:27:37 +01:00
Gabriel Caruso
2d48d734a2
Fix some misspellings
2018-02-06 16:59:00 +01:00
Gabriel Caruso
91b09c7aa6
Increase ext/ftp coverage
2018-02-06 16:28:42 +01:00
Nikita Popov
fc23452cbf
Adjust manual zpp-like error message implementations
...
This should also use int/bool.
2018-02-04 23:27:51 +01:00
Gabriel Caruso
ce1d69a1f6
Use int instead of integer in type errors
...
PHP requires integer typehints to be written "int" and does not
allow "integer" as an alias. This changes type error messages to
match the actual type name and avoids confusing messages like
"must be of the type integer, integer given".
2018-02-04 19:08:23 +01:00
Gabriel Caruso
6400264856
Trailing whitespaces
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
2018-01-03 14:38:00 +01:00
Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
Xinchen Hui
7a7ec01a49
year++
2018-01-02 12:55:14 +08:00
Xinchen Hui
ccd4716ec7
year++
2018-01-02 12:53:31 +08:00
Dmitry Stogov
9e709e2fa0
Move constants into read-only data segment
2017-12-14 18:43:44 +03:00
Michael Kliewe
ba0ef9139c
convert spaces to tabs in ext/ftp/tests/server.inc
2017-10-28 13:02:23 +02:00
Michael Kliewe
7d5bf6e269
Add tests for ftp_rename
2017-10-28 13:02:23 +02:00
Michael Paul
6acfc7a239
Add test for ftp functions with bogus resource
2017-09-12 07:12:35 +01:00
Michael Paul
2133b55efd
Refactor ftp_append test to clean temporary files
2017-09-12 07:10:22 +01:00
Kalle Sommer Nielsen
c34ba92782
Get rid of all these old package[2].xml files, most of these had no had a release since PHP4, or any release at all in close to 10 years, some even did not have a package registered at pecl
...
OCI, PDO_OCI and zip are left as they are actively developed and released there
2017-08-17 22:09:29 +02:00
Nikita Popov
60dc329949
Adjust ftp arginfos for optional mode
...
This was changed in 00cd671233
, but
the arginfos were not adjusted.
2017-08-02 20:57:49 +02:00
Andreas Treichel
27c225a5ad
Default ftp_append() mode to FTPTYPE_IMAGE
...
To be consistent with other ftp_*() functions in master.
2017-08-02 20:54:32 +02:00
Nikita Popov
902188e5e3
Merge branch 'PHP-7.2'
2017-08-02 20:53:32 +02:00
Andreas Treichel
29e4d4eee6
Add ftp_append to create a new file or append data to an existing file (RFC959)
2017-08-02 20:52:28 +02:00
Andreas Treichel
00cd671233
Make transfer mode optional, set default to binary
2017-07-25 09:09:12 +01:00
chance garcia
510230d3dc
Test ftp_ssl_connect() function : error conditions
...
test timeout warning
ensure connection fails with invalid hostname
test invalid parameter types
test exceeds expected number of parameters
2017-06-19 19:48:52 -04:00
Andreas Treichel
5b1300b6c9
ftp_mlsd(): Parse the MLSD response
2017-02-17 21:31:18 +01:00
Nikita Popov
267ab47366
Merge branch 'PHP-7.1'
2017-02-16 12:47:26 +01:00
Nikita Popov
f741f9b656
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-16 12:47:12 +01:00
Mitch Hagstrand
3b91ed112f
Make the ftp and stream tests more reliable.
...
The tests can sometimes fail because it chooses a passive port for ftp that
is already in use. This makes the test attempt multiple times to find a free
port.
2017-02-16 12:46:55 +01:00
Andreas Treichel
0103d1e3bc
FTP: implement MLSD for structured listing of directories, decribed at https://tools.ietf.org/html/rfc3659
2017-01-29 07:28:22 +00:00
Joe Watkins
04db4ad4e3
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fix FTP tests for Travis CI.
2017-01-09 00:37:24 +00:00
Joe Watkins
3b8dc330bf
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix FTP tests for Travis CI.
2017-01-09 00:36:57 +00:00
Mitch Hagstrand
47007455dc
Fix FTP tests for Travis CI.
...
This suppresses the errors from stream_socket_server() until
server.inc will not make anymore attempts.
2017-01-09 00:36:39 +00:00
Anatol Belski
97ac819c2b
Merge branch 'PHP-7.1'
...
* PHP-7.1:
move various places to the centralized OpenSSL setup routine
use the new API for opaque symbol in OpenSSL 1.1.x
implement basic config support for OpenSSL 1.1.x
2017-01-08 00:39:53 +01:00
Anatol Belski
43b92ed5a8
move various places to the centralized OpenSSL setup routine
2017-01-08 00:25:47 +01:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Sammy Kaye Powers
478f119ab9
Update copyright headers to 2017
2017-01-04 11:14:55 -06:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Nikita Popov
d18741d002
Fix ext/ftp
2016-11-22 19:06:59 +01:00
Kalle Sommer Nielsen
3ed0af3252
Kill some more strlen() calls and fix a possible missing NULL pointer check
...
Thanks to Anatol for review
2016-11-20 23:36:19 +01:00
Kalle Sommer Nielsen
53ca6fdaa4
Remove undefined variable if ext/ftp was built with SSL
2016-11-20 19:37:24 +01:00
Kalle Sommer Nielsen
d489569725
Fix typo
2016-11-20 19:36:48 +01:00
Kalle Sommer Nielsen
06767ffcbe
Shave off a strlen() call in ftp_mkdir()
2016-11-20 19:36:36 +01:00