History log of /PHP-8.1/ext/ldap/ldap.c (Results 1 – 25 of 504)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# b8ac2071 16-Dec-2022 Christoph M. Becker

Fix GH-10112: LDAP\Connection::__construct() refers to ldap_create()

There is no `ldap_create()`, but rather `ldap_connect()`.

Closes GH-10115.


Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1, php-8.1.0, php-7.3.33, php-7.3.32
# c96be7b8 24-Sep-2021 Tim Starling

Use ASCII lower case for misc case folding

Use ASCII case conversion instead of locale-dependent case conversion in
the following places:

* grapheme_stripos() and grapheme_strri

Use ASCII lower case for misc case folding

Use ASCII case conversion instead of locale-dependent case conversion in
the following places:

* grapheme_stripos() and grapheme_strripos() in the "fast" path
* ldap_get_entries()
* oci_pconnect() for case folding of parameters when constructing a key
into the connection or session pool
* SoapClient: case folding of function names
* get_meta_tags(): case conversion of property names
* http stream wrapper: header names
* phpinfo(): anchor names
* php_verror(): docref URLs
* rfc1867.c: Content-Type boundary parameter name
* streams.c: stream protocol names

Using locale-dependent case folding for these cases is either
unnecessary or actively incorrect. These functions could have
misbehaved when used with certain locales (e.g. Turkish).

Closes GH-7511.

show more ...

Revision tags: php-7.3.31, php-7.3.30
# 570d9b63 20-Jul-2021 Joe Watkins

Not serializable flag permeation

Revision tags: php-7.3.29
# a6a95e3f 12-May-2021 George Peter Banyard

Do not reuse errno as local variable name

errno is a global variable/macro which is implementation defined,
and should not be reused.

This fixes some [-Wstrict-prototypes] warni

Do not reuse errno as local variable name

errno is a global variable/macro which is implementation defined,
and should not be reused.

This fixes some [-Wstrict-prototypes] warnings.

show more ...

# e0b947a8 09-May-2021 Ayesh Karunaratne

Move resource-object classes of LDAP to `\LDAP` namespaces (#6963)

Another change as per accepted [namespaces in bundled extensions RFC](https://wiki.php.net/rfc/namespaces_in_bundled_extens

Move resource-object classes of LDAP to `\LDAP` namespaces (#6963)

Another change as per accepted [namespaces in bundled extensions RFC](https://wiki.php.net/rfc/namespaces_in_bundled_extensions).

Related: #6925, #5945, #6960

show more ...

# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...

Revision tags: php-7.3.28, php-7.3.27, php-7.3.26, php-7.3.26RC1, php-7.3.25, php-7.3.25RC1, php-7.3.24, php-7.3.24RC1
# 5caaf40b 29-Sep-2020 George Peter Banyard

Introduce pseudo-keyword ZEND_FALLTHROUGH

And use it instead of comments

# cd40fc3c 13-Mar-2021 Máté Kocsis

Convert resources to objects in ext/ldap

Closes GH-6770

# 66f16f4e 16-Mar-2021 Máté Kocsis

Merge branch 'PHP-8.0'

* Fix crash in LDAP search functions during argument validation
* Fix ldap_next_entry() parameter name


# b03438ba 15-Mar-2021 Máté Kocsis

Fix crash in LDAP search functions during argument validation

# 3e01f5af 15-Jan-2021 Nikita Popov

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.

show more ...

# 422d1665 14-Jan-2021 Nikita Popov

Make convert_to_*_ex simple aliases of convert_to_*

Historically, the _ex variants separated the zval first, if a
conversion was necessary. This distinction no longer makes sense
sin

Make convert_to_*_ex simple aliases of convert_to_*

Historically, the _ex variants separated the zval first, if a
conversion was necessary. This distinction no longer makes sense
since PHP 7.

The only difference that was still left is that _ex checked whether
the type is the same first, but the usage of these macros did not
actually distinguish on whether such an inlined check is valuable
or not in a given context.

Also drop the unused convert_to_explicit_type macros.

show more ...

# 15a3eca3 15-Oct-2020 Côme Chilliet

Change $controls parameter to default to null in ext/ldap

It appeared that not passing $controls and passing [] caused different
behaviors, when not passing it the controls set through

Change $controls parameter to default to null in ext/ldap

It appeared that not passing $controls and passing [] caused different
behaviors, when not passing it the controls set through ldap_set_option
would be used, when passing [] they would not.

So, this parameter is now nullable and defaults to null to have a
consistent behavior.

show more ...

# 550a4f2f 01-Oct-2020 Côme Chilliet

Remove deprecated functions from php-ldap

Remove ldap_control_paged_result and ldap_control_paged_result_response
which have been deprecated in PHP 7.4, in favor of new $controls
p

Remove deprecated functions from php-ldap

Remove ldap_control_paged_result and ldap_control_paged_result_response
which have been deprecated in PHP 7.4, in favor of new $controls
parameters for ldap request functions.

show more ...

Revision tags: php-7.3.23
# 1d3787ee 28-Sep-2020 Côme Chilliet

Rename $link parameters to $ldap in ldap functions

Also fixed ldap_set_option places where $newvalue was still used

# a835eee2 17-Sep-2020 MCMic

Fix parameter mask in ldap_next_attribute

Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>

# eeec37d3 17-Sep-2020 Côme Chilliet

Remove dummy_ber parameter from ldap_first_attribute and ldap_next_attribute

It has been unused and deprecated since PHP 5.2.4

# caa0cd77 17-Sep-2020 Côme Chilliet

Set all parameters to ldap_sasl_bind as NULL by default

For mech, realm, authcid, authzid and props NULL means do not change
current server setting.

# 74b63475 17-Sep-2020 Côme Chilliet

Default bind dn and password to NULL in ldap_bind_ext

# 14385fb2 17-Sep-2020 Côme Chilliet

Default bind dn and password to NULL in ldap_bind

# 6b77252f 17-Sep-2020 Côme Chilliet

Make URI parameter in ldap_connect default to NULL

# e950ca13 20-Sep-2020 Máté Kocsis

Consolidate the usage of "either" and "one of" in error messages

Closes GH-6173

Revision tags: php-7.3.23RC1
# c98d4769 10-Sep-2020 Máté Kocsis

Consolidate new union type ZPP macro names

They will now follow the canonical order of types. Older macros are
left intact due to maintaining BC.

Closes GH-6112

# 36cdbd05 03-Sep-2020 Máté Kocsis

Promote warnings to exceptions in ext/ldap

Closes GH-6065

# 8107a1da 04-Sep-2020 Máté Kocsis

Use ZPP instead of custom type checks

We can add these types as a native type declaration to stubs as a side-effect. Closes GH-6068

12345678910>>...21