#
4f478af1 |
| 03-Mar-2021 |
Christoph M. Becker |
Fix #80825: ZipArchive::isCompressionMethodSupported does not exist `HAVE_METHOD_SUPPORTED` should have been defined after we updated to libzip 1.7.1 months ago. |
#
90b24401 |
| 03-Mar-2021 |
Christoph M. Becker |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Fix #78719: http wrapper silently ignores long Location headers
|
#
51e2015a |
| 23-Feb-2021 |
Christoph M. Becker |
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`
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.
show more ...
|
#
75a4f484 |
| 01-Mar-2021 |
Nikita Popov |
Fixed bug #80811 When filling in defaults for skipped params, make sure that reference parameters get the expected reference wrapper. |
#
e8579365 |
| 11-Sep-2020 |
Nikita Popov |
Fixed bug #80805 Handle missing result_var in binary_op_result_type. (cherry picked from commit 8446e2827585c37d0739f8d44fa8d359cbbb6551) |
#
1ee6aad2 |
| 26-Feb-2021 |
George Peter Banyard |
Fix Bug #80800 imap_open() fails when the flags parameter includes CL_EXPUNGE This also affected imap_reopen(). Add a supplementary test that the CL_EXPUNGE flag does have the intend
Fix Bug #80800 imap_open() fails when the flags parameter includes CL_EXPUNGE This also affected imap_reopen(). Add a supplementary test that the CL_EXPUNGE flag does have the intended effect. Closes GH-6732
show more ...
|
#
78b0a85d |
| 24-Feb-2021 |
Felipe Pena |
Update NEWS |
#
b7fa5268 |
| 24-Feb-2021 |
Dmitry Stogov |
Fixed bug #80782 (DASM_S_RANGE_VREG on PHP_INT_MIN-1) |
#
1fc4c892 |
| 23-Feb-2021 |
Nikita Popov |
Fixed bug #80761 When row data split across multiple packets, allocate a temporary buffer that can be reallocated, and only copy into the row buffer pool arena once we know the final
Fixed bug #80761 When row data split across multiple packets, allocate a temporary buffer that can be reallocated, and only copy into the row buffer pool arena once we know the final size. This avoids quadratic memory usage for very large results.
show more ...
|
#
79cf2c56 |
| 23-Feb-2021 |
Nikita Popov |
Fixed bug #80786 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. |
#
24e7299c |
| 15-Feb-2021 |
Cameron Porter |
Fixed bug #80724 FilesystemIterator::FOLLOW_SYMLINKS is currently treated as a directory key mode flag, even though it does not change the way that the key during iteration is set. T
Fixed bug #80724 FilesystemIterator::FOLLOW_SYMLINKS is currently treated as a directory key mode flag, even though it does not change the way that the key during iteration is set. To address this, FOLLOW_SYMLINKS has been converted into an OTHER flag. Closes GH-6695.
show more ...
|
#
da011a31 |
| 22-Feb-2021 |
Darek Slusarczyk |
Fix #80329: Add option to specify LOAD DATA LOCAL white list folder * allow the user to specify a folder where files that can be sent via LOAD DATA LOCAL can exist * add mysqli.
Fix #80329: Add option to specify LOAD DATA LOCAL white list folder * allow the user to specify a folder where files that can be sent via LOAD DATA LOCAL can exist * add mysqli.local_infile_directory for mysqli (ignored if mysqli.allow_local_infile is enabled) * add PDO::MYSQL_ATTR_LOCAL_INFILE_DIRECTORY for pdo_mysql (ignored if PDO::MYSQL_ATTR_LOCAL_INFILE is enabled) * add related tests * fixes for building with libmysql 8.x * small improvement in existing tests * update php.ini-[development|production] files Closes GH-6448. Co-authored-by: Nikita Popov <nikic@php.net>
show more ...
|
#
b418fe26 |
| 22-Feb-2021 |
Christoph M. Becker |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Fix #75776: Flushing streams with compression filter is broken
|
#
963e50c8 |
| 16-Feb-2021 |
Christoph M. Becker |
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.
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.
show more ...
|
#
1d2bbce5 |
| 22-Feb-2021 |
Christoph M. Becker |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Fix #80771: phpinfo(INFO_CREDITS) displays nothing in CLI
|
#
073b6ea8 |
| 22-Feb-2021 |
Christoph M. Becker |
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 `ph
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.
show more ...
|
#
6dcd640f |
| 22-Feb-2021 |
Christoph M. Becker |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Fix #80774: session_name() problem with backslash
|
#
d7c98ca1 |
| 19-Feb-2021 |
Christoph M. Becker |
Fix #80774: session_name() problem with backslash Since we do no longer URL decode cookie names[1], we must not URL encode the session name. We need to prevent broken Set-Cookie headers
Fix #80774: session_name() problem with backslash Since we do no longer URL decode cookie names[1], we must not URL encode the session name. We need to prevent broken Set-Cookie headers, by rejecting names which contain invalid characters. [1] <http://git.php.net/?p=php-src.git;a=commit;h=6559fe912661ca5ce5f0eeeb591d928451428ed0> Closes GH-6711.
show more ...
|
#
6dd85f83 |
| 22-Feb-2021 |
Nikita Popov |
Fixed bug #80781 zend_find_array_dim_slow() may throw, make sure to handle this. This backports the code we already use for this on PHP-8.0, and also backports an exception check tha
Fixed bug #80781 zend_find_array_dim_slow() may throw, make sure to handle this. This backports the code we already use for this on PHP-8.0, and also backports an exception check that makes this easier to catch.
show more ...
|
#
6ffa9b11 |
| 21-Feb-2021 |
Anatol Belski |
NEWS: Associate FR to xxHash additions [ci skip] Signed-off-by: Anatol Belski <ab@php.net> |
#
db2e2af1 |
| 18-Feb-2021 |
Nikita Popov |
Fixed bug #53826 We should handle the case where the method doesn't exist, and where it is not visible the same way. |
#
6b0f14fe |
| 17-Feb-2021 |
Nikita Popov |
Fixed bug #75474 For fake closures, we need to share static variables with the original function, not work on a separate copy. Calling a function through Closure::fromCallable() shou
Fixed bug #75474 For fake closures, we need to share static variables with the original function, not work on a separate copy. Calling a function through Closure::fromCallable() should have the same behavior as calling it directly.
show more ...
|
#
553a0c52 |
| 17-Feb-2021 |
Christoph M. Becker |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Fix #80763: msgfmt_format() does not accept DateTime references
|
#
84b61528 |
| 17-Feb-2021 |
Christoph M. Becker |
Fix #80763: msgfmt_format() does not accept DateTime references `intl_zval_to_millis()` needs to cater to references. Closes GH-6707. |
#
7f68a7af |
| 17-Feb-2021 |
Dmitry Stogov |
Fixed bug #80745 (JIT produces Assert failure and UNKNOWN:0 var_dumps in code involving bitshifts) |