History log of /PHP-8.1/ext/soap/soap.c (Results 1 – 25 of 588)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# e440e37f 13-Oct-2022 Christoph M. Becker

Fix GH-9720: Null pointer dereference while serializing the response

When traversing the result array, we need to cater to `param_name`
possibly being `NULL`. Prior to PHP 7.0.0, this w

Fix GH-9720: Null pointer dereference while serializing the response

When traversing the result array, we need to cater to `param_name`
possibly being `NULL`. Prior to PHP 7.0.0, this was implicitly done
because `param_name` was of type `char*`.

Closes GH-9739.

show more ...


Revision tags: php-8.1.7RC1
# dd89acaf 19-May-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-8578: Error on wrong parameter on SoapHeader constructor


# 8735ae9d 18-May-2022 robertnisipeanu

Fix GH-8578: Error on wrong parameter on SoapHeader constructor

Closes GH-8579.

Revision tags: 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
# 841d0b30 20-Aug-2021 Nikita Popov

Slightly clean up cookies handling

Make the property always an array with an empty array default.
Properly separate the array on modification to compensate.

# 50484b59 20-Aug-2021 Nikita Popov

Move derefs into accessor macros

These derefs are mostly there to be defensive, but clutter the
code somewhat. Move them directly into the access macros.

# e6c6abf6 19-Aug-2021 Nikita Popov

Declare remaining SoapClient properties

# b3b16584 20-Aug-2021 Nikita Popov

Remove dead code

This was checking for the headerfault property, but not actually
doing anything with it.

# aa4898ef 20-Aug-2021 Nikita Popov

Use separate property to request digit auth

Currently, _digest is used both to request that digest auth be
used (_digest == null) and to later store the _digest parameters.

This

Use separate property to request digit auth

Currently, _digest is used both to request that digest auth be
used (_digest == null) and to later store the _digest parameters.

This relies on the ability to distinguish between _digest being
null and it being not set, which is not present with declared
properties. (Well, technically it is, we could just leave it
uninitialized, but that would be non-idiomatic.)

Resolve this by splitting into separate _use_digest and _digest
properties.

show more ...

# 32d663e1 19-Aug-2021 Nikita Popov

Declare SoapFault properties

# 44befbdc 20-Aug-2021 Nikita Popov

Don't convert Error exception to SoapFault

Error exceptions should generally not be converted into domain-
specific exception types. They indicate programming errors that
should not

Don't convert Error exception to SoapFault

Error exceptions should generally not be converted into domain-
specific exception types. They indicate programming errors that
should not be handled locally.

show more ...

# 018cb891 19-Aug-2021 Nikita Popov

Declare some SoapClient properties

This is only a subset of all properties for now (those without
underscore).

# e861cb5c 19-Aug-2021 Nikita Popov

Simplify some strtolower operations in ext/soap

# e6d4b307 19-Aug-2021 Nikita Popov

Simplify constructor invocation in ext/soap

Use ce->constructor and zend_call_known_instance_method. There
is no need to look up a method with the same name as the class
anymore.

# 7d4f2f53 19-Aug-2021 Nikita Popov

Declare SoapHeader properties

# bdf8b9ed 19-Aug-2021 Nikita Popov

Declare SoapServer::$service property

# c58c9260 19-Aug-2021 Nikita Popov

Declare SoapVar properties

# 030bb36e 19-Aug-2021 Nikita Popov

Declare SoapParam properties

# 94916949 12-Jul-2021 Nikita Popov

Deprecate SoapClient ssl_method option

Instead use ssl stream context options instead. The direct
equivalent would be crypto_method, but min_proto_version /
max_proto_version are rec

Deprecate SoapClient ssl_method option

Instead use ssl stream context options instead. The direct
equivalent would be crypto_method, but min_proto_version /
max_proto_version are recommended instead.

Part of https://wiki.php.net/rfc/deprecations_php_8_1.

show more ...

Revision tags: php-7.3.29
# aff36587 29-Jun-2021 Patrick Allaert

Fixed some spaces used instead of tabs

# e7135cb8 14-May-2021 George Peter Banyard

Use zend_string_equals_* API in a couple of more place

Closes GH-6979

# c40231af 12-May-2021 George Peter Banyard

Mark various functions with void arguments.

This fixes a bunch of [-Wstrict-prototypes] warning,
because in C func() and func(void) have different semantics.

# 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
# a1c6ee21 23-Apr-2021 Nikita Popov

Convert error filename to zend_string

Error handling functions/callbacks now accept the error filename
as a zend_string* instead of a const char*.

# 4ce5d2ea 09-Apr-2021 Nikita Popov

Add known strings for jit autoglobals

We always create interned strings for all autoglobals anyway, so
we might as well add known strings to make them more widely usable.

12345678910>>...24