Nikita Popov
646dc19048
Suppress fsockopen error in ldap_set_rebind_proc_error.phpt
2019-10-01 22:02:47 +02:00
Christoph M. Becker
76179cdf3d
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Add missing skip keyword in tests
Update NEWS for 7.4.0RC4
Update NEWS for PHP 7.4.0RC3
2019-10-01 11:19:43 +02:00
Christoph M. Becker
73f29a5c5e
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Add missing skip keyword in tests
2019-10-01 11:17:53 +02:00
Nikita Popov
235983dfde
Merge branch 'PHP-7.4'
2019-09-30 17:52:39 +02:00
Fabien Villepinte
0aa3acc6c4
Fix borked SKIPIFs
2019-09-30 17:51:41 +02:00
Nikita Popov
2879ab46c0
Merge branch 'PHP-7.4'
2019-08-30 10:33:12 +02:00
Fabien Villepinte
e1afd9b213
Modernize some connectors in tests to remove env key duplication
2019-08-30 10:33:01 +02:00
Christoph M. Becker
6cd821b2d1
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Don't modify arrays passed by value
2019-08-25 18:29:08 +02:00
Christoph M. Becker
ac40d0ffbc
Don't modify arrays passed by value
2019-08-25 18:27:35 +02:00
Côme Chilliet
a88bfff59a
Remove ZPP tests from ext/ldap
2019-06-18 16:11:24 +02:00
Côme Chilliet
890e846d85
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Some more string conversion handling, fixing bug #77958
Avoid converting zval when not needed
2019-06-13 22:15:41 +02:00
Côme Chilliet
9684d5f282
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Some more string conversion handling, fixing bug #77958
Avoid converting zval when not needed
2019-06-13 22:15:13 +02:00
Côme Chilliet
5d2fe48785
Some more string conversion handling, fixing bug #77958
2019-06-13 22:12:34 +02:00
Nikita Popov
0715aeeef2
Merge branch 'PHP-7.4'
2019-06-11 15:49:36 +02:00
Nikita Popov
8d3a2a4a12
Remove ext/ldap/tests/bug76248.phpt
...
I wasn't able to make this test work reliably in CI, and the thing
it's testing does not seem worth spending more time on it.
2019-06-11 15:47:01 +02:00
Nikita Popov
14692df82b
Remove ldap zpp tests
...
Missed these in the zpp test purge -- they've been failing on master
for a while, but nobody compiles with ldap.
2019-06-11 10:09:40 +02:00
Peter Kokot
87cfcb0b7c
Merge branch 'PHP-7.4'
...
* PHP-7.4:
[ci skip] Migrate tests READMEs to Markdown
2019-05-12 22:03:35 +02:00
Peter Kokot
83e565e244
[ci skip] Migrate tests READMEs to Markdown
2019-05-12 22:03:10 +02:00
Peter Kokot
6426420f61
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Replace dirname(__FILE__) by __DIR__ in tests
2019-03-15 23:36:47 +01:00
Fabien Villepinte
26dfce7f36
Replace dirname(__FILE__) by __DIR__ in tests
2019-03-15 22:55:30 +01:00
Côme Chilliet
f0ddc93f46
Removed ldap_sort and LDAP_DEPRECATED build flag
...
ldap_sort was deprecated in PHP7, it is now removed.
This allows removing the LDAP_DEPRECATED flag when building against
openldap.
2019-02-04 13:10:05 +01:00
Côme Chilliet
d93ce17959
Mark ldap_control_paged_result and ldap_control_paged_result_response as deprecated
...
These functions have serious limitations and may confuse users.
Same operations can be done using the new ldap control system in search
operations.
2019-02-04 12:20:51 +01:00
Mizunashi Mana
e412195772
Fix a test for ldap extension
2018-11-03 17:37:47 +01:00
Peter Kokot
d679f02295
Sync leading and final newlines in *.phpt sections
...
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines in all
*.phpt sections.
According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.
C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."
Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-15 04:33:09 +02:00
Peter Kokot
b746e69887
Sync leading and final newlines in *.phpt sections
...
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines in all
*.phpt sections.
According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.
C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."
Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-15 04:32:30 +02:00
Peter Kokot
782352c54a
Trim trailing whitespace in *.phpt
2018-10-14 19:45:12 +02:00
Gabriel Caruso
9c144e0d82
Trim trailing whitespace in tests
2018-10-14 12:07:20 -03:00
Peter Kokot
37c329d715
Trim trailing whitespace in source code files
2018-10-13 14:17:28 +02:00
Peter Kokot
3362620b5f
Trim trailing whitespace in source code files
2018-10-13 14:16:33 +02:00
Stanislav Malyshev
99f1d904a0
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix tsrm_ls
Fix #76129 - remove more potential unfiltered outputs for phar
Fix test
Fix bug #76248 - Malicious LDAP-Server Response causes Crash
Fix bug #76249 - fail on invalid sequences
Fix #76130 : Heap Buffer Overflow (READ: 1786) in exif_iif_add_value
Fix bug #75981 : prevent reading beyond buffer start
2018-04-23 22:04:22 -07:00
Stanislav Malyshev
4c06d929c0
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix tsrm_ls
Fix #76129 - remove more potential unfiltered outputs for phar
Fix test
Fix bug #76248 - Malicious LDAP-Server Response causes Crash
Fix bug #76249 - fail on invalid sequences
Fix #76130 : Heap Buffer Overflow (READ: 1786) in exif_iif_add_value
Fix bug #75981 : prevent reading beyond buffer start
2018-04-23 22:03:33 -07:00
Stanislav Malyshev
95ee9efa57
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix tsrm_ls
Fix #76129 - remove more potential unfiltered outputs for phar
Fix test
Fix bug #76248 - Malicious LDAP-Server Response causes Crash
Fix bug #76249 - fail on invalid sequences
Fix #76130 : Heap Buffer Overflow (READ: 1786) in exif_iif_add_value
Fix bug #75981 : prevent reading beyond buffer start
2018-04-23 22:00:24 -07:00
Stanislav Malyshev
5a18d7a0df
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix tsrm_ls
Fix #76129 - remove more potential unfiltered outputs for phar
Fix test
Fix bug #76248 - Malicious LDAP-Server Response causes Crash
Fix bug #76249 - fail on invalid sequences
Fix #76130 : Heap Buffer Overflow (READ: 1786) in exif_iif_add_value
Fix bug #75981 : prevent reading beyond buffer start
2018-04-23 21:59:57 -07:00
Stanislav Malyshev
49782c5499
Fix bug #76248 - Malicious LDAP-Server Response causes Crash
2018-04-22 22:01:35 -07:00
Nikita Popov
ad87e2bd6a
Merge branch 'PHP-7.2'
2018-03-23 18:57:58 +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
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
b0d3c1bf83
Add and fix SKIPIF sections
2018-02-04 17:26:37 +01:00
Gabriel Caruso
c6c9e71a5b
Add missing SKIPIF sections
2018-02-03 13:54:34 +01:00
Côme Chilliet
9a4f3505ff
Added support for VLV controls request and response
2017-09-21 10:05:42 +02:00
Côme Chilliet
6ac7d313c8
Added support for SORT controls
...
On an openldap server you need the sssvlv overlay for these to work
2017-09-21 10:05:42 +02:00
Côme Chilliet
76e9de681a
Added skip when control are not supported by the test ldap server
2017-09-21 10:05:42 +02:00
Côme Chilliet
c112b53a60
Added ldap_rename_ext and its test
2017-09-21 10:05:42 +02:00
Côme Chilliet
679442b1d1
Indexing controls by OID when parsing them
2017-09-21 10:05:42 +02:00
Côme Chilliet
9c7666d93a
Avoid returning iscritical field when parsing response controls
...
As stated in RFC4511 Section 4.1.11, this field is always false in
response controls and only makes sense in request controls
2017-09-21 10:05:42 +02:00
Côme Chilliet
ead53aba54
Added ldap_delete_ext and its test
2017-09-21 10:05:42 +02:00
Côme Chilliet
17e490a2e3
Added ldap_mod_*_ext methods for modification with controls
2017-09-21 10:05:42 +02:00
Côme Chilliet
32b51035be
Added ldap_add_ext and preread/postread support and tests
2017-09-21 10:05:42 +02:00
Côme Chilliet
b36342453b
Added ldap_bind_ext to pass controls and get result object
...
ldap_bind_ext allows to pass controls and get result object
from bind operation
Also added a test for it, pretty basic as tests cannot depend upon
ppolicy overlay
2017-09-21 10:05:41 +02:00
Côme Chilliet
3a1ba93066
Added support and test for LDAP_CONTROL_VALUESRETURNFILTER
2017-09-21 10:05:41 +02:00