| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The `encoding` attribute of the XML declaration is optional; it is good
practice to use external encoding information where available if it is
missing. Thus, we check for `charset` info of `Content-Type` headers,
and see whether the encoding is supported.
We cater to trailing parameters and quoted-strings, but not to escaped
backslashes and quotes in quoted-strings, since no known character
encoding contains these anyway.
Co-authored-by: Michael Wallner <mike@php.net>
Closes GH-6747.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix #80838: HTTP wrapper waits for HTTP 1 response after HTTP 101
|
| |
| |
| |
| |
| |
| | |
Don't wait for further responses after a HTTP 101 (Switching Protocols) response
Closes GH-6730.
|
| | |
|
|\ \
| |/ |
|
| |\ |
|
| | |
| | |
| | |
| | | |
longer time based on load. Reduces PM overhead for busy setup.
|
| | |
| | |
| | |
| | |
| | |
| | | |
applied in addition.
Closes GH-6738.
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* PHP-7.4:
Print error code if CreateMutex() fails
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
This issue came up recently in a bug report[1]; without the error code,
users can barely guess why the function failed.
[1] <https://bugs.php.net/80812>
Closes GH-6745.
|
| |
| |
| |
| | |
passed as argument 2 of memcpy(), which is declared to never be null)
|
| |
| |
| |
| |
| | |
`HAVE_METHOD_SUPPORTED` should have been defined after we updated to
libzip 1.7.1 months ago.
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix #78719: http wrapper silently ignores long Location headers
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When opening HTTP streams, and reading the headers, we currently
discard header lines longer than `HTTP_HEADER_BLOCK_SIZE` (1024 bytes).
While this is not generally forbidden by RFC 7230, section 3.2.5, it
is not generally allowed either, since that may change the "message
framing or response semantics".
We thus fix this by allowing arbitrarily long header lines.
Closes GH-6720.
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix #80751: Comma in recipient name breaks email delivery
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
So far, `SendText()` simply separates potential email address lists at
any comma, disregarding that commas inside a quoted-string do not
delimit addresses. We fix that by introducing an own variant of
`strtok_r()` which caters to quoted-strings.
We also make `FormatEmailAddress()` aware of quoted strings.
We do not cater to email address comments, and potentially other quirks
of RFC 5322 email addresses, but catering to quoted-strings is supposed
to solve almost all practical use cases.
Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
Closes GH-6735.
|
| |
| |
| |
| |
| | |
When filling in defaults for skipped params, make sure that
reference parameters get the expected reference wrapper.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Always remove HT iterators, even for uninit HT
|
| |
| |
| |
| | |
Fixes oss-fuzz #31423.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fixed bug #80805
|
| |
| |
| |
| |
| |
| | |
Handle missing result_var in binary_op_result_type.
(cherry picked from commit 8446e2827585c37d0739f8d44fa8d359cbbb6551)
|
| |
| |
| |
| |
| |
| |
| |
| | |
This also affected imap_reopen().
Add a supplementary test that the CL_EXPUNGE flag does have
the intended effect.
Closes GH-6732
|
|\ \
| |/ |
|
| |
| |
| |
| | |
calling __construct after instantiation
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
skip test with openssl < 1.1.0
|
| |
| |
| |
| |
| | |
The test fails, but without any crash
(this test is designed to catch a crash)
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Capture Microsoft-defined HRESULT exit codes exit codes
|
| |
| |
| |
| |
| |
| |
| |
| | |
The lack of such a check leads to false-passes of tests on Windows
which expect no output, but produce a segfault or similar issue. I
discovered this a while ago due to bad tests in an extension I maintain.
Closes GH-6722.
|
| |
| |
| |
| | |
Closes GH-6725.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
mysqlnd pam fix test error message
|
| |
| |
| |
| | |
Closes GH-6727.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix potential file collision in dom tests
|
| | |
|
|\ \
| |/ |
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
run-tests: fixed exit code not being set on BORKED tests
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.3:
run-tests: fixed exit code not being set on BORKED tests
|
| | |
| | |
| | |
| | |
| | |
| | | |
When no test paths are specified this shows up when 'make test' is used on a PECL extension without specifying tests to run (or in php-src too, I guess...)
Closes GH-6717.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Update php_version.h to proper version number
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Don't use r0 as temporary register in math_double_long if it is
already used for a memory result.
This was already done in one branch, but not the other.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #75776: Flushing streams with compression filter is broken
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
First, the `bzip2.compress` filter has the same issue as `zlib.deflate`
so we port the respective fix[1] to ext/bz2.
Second, there is still an issue, if a stream with an attached
compression filter is flushed before it is closed, without any writes
in between. In that case, the compression is never finalized. We fix
this by enforcing a `_php_stream_flush()` with the `closing` flag set
in `_php_stream_free()`, whenever a write filter is attached. This
call is superfluous for most write filters, but does not hurt, even
when it is unnecessary.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=20e75329f2adb11dd231852c061926d0e4080929>
Closes GH-6703.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #80771: phpinfo(INFO_CREDITS) displays nothing in CLI
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There is no good reason not to show the credits in text based SAPIs,
except for brevity. Thus, we suppress the credits from `php -i`.
Closes GH-6710.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #80774: session_name() problem with backslash
|