Christoph M. Becker
482cd861f6
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix test expectations
2019-03-29 14:34:07 +01:00
Christoph M. Becker
9f545de0b6
Fix test expectations
...
While bug77020.phpt already succeeds on Linux, it fails on Windows;
imap_fetchbody_variation3.phpt fails on both systems. We therefore
make these tests more resilient.
2019-03-29 14:33:42 +01:00
Christoph M. Becker
9d8b913de5
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix test expectation
2019-03-29 09:56:58 +01:00
Christoph M. Becker
0aa1a2c833
Fix test expectation
...
The `W32_SM_SENDMAIL_FROM_MALFORMED` error message will only be shown
if the `$additional_headers` parameter is passed to `mail`, which is
not the case for this test. Instead we have to expect `BAD_MSG_RPATH`.
2019-03-29 09:55:04 +01:00
Stanislav Malyshev
66c35b083b
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Validate subject encoding in mb_split and mb_ereg_match
Validate pattern against mbregex encoding
SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy against potential security flaws
2019-03-28 00:42:56 -07:00
Stanislav Malyshev
402adc1df1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Validate subject encoding in mb_split and mb_ereg_match
Validate pattern against mbregex encoding
SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy against potential security flaws
2019-03-28 00:35:22 -07:00
Joe Watkins
62a652a0d5
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
fix build: readline support must be disabled by default in phpdbg
2019-03-28 07:35:15 +01:00
Joe Watkins
b7442f1bb8
fix build: readline support must be disabled by default in phpdbg
2019-03-28 07:34:45 +01:00
Nikita Popov
0ecac37c40
Validate subject encoding in mb_split and mb_ereg_match
...
We were already validating the subject encoding in most functions,
but not these two.
2019-03-27 23:20:27 -07:00
Nikita Popov
40fe50daf6
Validate pattern against mbregex encoding
...
Oniguruma does not consistently perform this validation itself (at least
on older versions), so make sure we check pattern encoding validity on the
PHP side.
2019-03-27 23:19:46 -07:00
Joe Watkins
218154e695
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Consider phpdbg as cli
2019-03-27 10:38:45 +01:00
Samuele Kaplun
79f046f89e
Consider phpdbg as cli
...
* When configuring extensions, considers the PHPDBG SAPI as CLI thus
allowing e.g. to have the pcntl extension available within PHPDBG.
Signed-off-by: Samuele Kaplun <kaplun@protonmail.com >
2019-03-27 10:38:03 +01:00
Joe Watkins
eb405a2192
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #77805 phpdbg build fails when readline is shared
2019-03-27 10:04:07 +01:00
Joe Watkins
7af270eb28
Fix #77805 phpdbg build fails when readline is shared
2019-03-27 10:02:42 +01:00
Joe Watkins
1e4cff9ddb
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
more work on phpdbg conditional breaks
2019-03-27 00:02:31 +01:00
Joe Watkins
6d3a2b4693
more work on phpdbg conditional breaks
2019-03-27 00:02:15 +01:00
Joe Watkins
e177d26d0e
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #77800 phpdbg segfaults on conditional breakpoints
2019-03-26 23:06:15 +01:00
Joe Watkins
7df8e4fc0a
Fix #77800 phpdbg segfaults on conditional breakpoints
2019-03-26 23:05:06 +01:00
Peter Kokot
6ef6d31776
[ci skip] Update NEWS
2019-03-25 21:57:20 +01:00
Peter Kokot
58e00df9fe
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
[ci skip] Update NEWS
Fix #77794 : Incorrect Date header format in built-in server
2019-03-25 21:56:39 +01:00
Peter Kokot
72a2ab39ba
[ci skip] Update NEWS
2019-03-25 21:46:41 +01:00
Niklas Keller
7f9872387e
Fix #77794 : Incorrect Date header format in built-in server
...
- Fix the date format to be compliant with https://tools.ietf.org/html/rfc7231#section-7.1.1.2
- Fix date format length and use GMT time
- Previously, local time was used instead of GMT.
- Remove extra whitespace
- Simplify string appends in php_cli_server.c
2019-03-25 21:41:45 +01:00
Nikita Popov
e4d9d91462
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-25 17:45:03 +01:00
Vlad Temian
ec2ecb7e12
Fix bug #77680 : Correctly implement recursive mkdir on FTP stream
...
If the root directory was missing, an extra CWD without arguments was
made. Also, the MKD contained an empty string.
Now the CWD will use / and MKDs will be issued starting from the root
directory.
2019-03-25 17:43:46 +01:00
Nikita Popov
e97577edde
Fixed bug #77793
...
By making sure that we always first increment the refcount of the
new value before we destroy the old one.
2019-03-25 17:33:17 +01:00
Nikita Popov
91d4d175ab
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-25 16:43:21 +01:00
Nikita Popov
85095dfd09
Fixed bug #72175
...
Make sure we don't close the connection we're trying to reuse...
2019-03-25 16:41:21 +01:00
Joe Watkins
93740a2482
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
fix bug #76801 : phpdbg too many open files error
2019-03-23 09:48:20 +01:00
Alessandro Chitolina
b8b880932e
fix bug #76801 : phpdbg too many open files error
2019-03-23 09:47:49 +01:00
Remi Collet
e68fd40e22
ensure pcre.jit=1 for this test
2019-03-22 15:31:36 +01:00
Remi Collet
bb47fb0783
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
ensure pcre.jit=1 for these tests
2019-03-22 15:01:49 +01:00
Remi Collet
2e9dccef78
ensure pcre.jit=1 for these tests
2019-03-22 15:00:31 +01:00
Nikita Popov
30ddfd49ed
Fixed bug #77773
2019-03-22 13:07:00 +01:00
Nikita Popov
620a753185
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-22 12:41:02 +01:00
Nikita Popov
da35fa2cb8
Fixed bug #77772
2019-03-22 12:39:27 +01:00
Remi Collet
5c8d69bf6f
fix test
2019-03-21 09:19:42 +01:00
Remi Collet
cf65905974
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix tests after fix for #76717
2019-03-20 14:08:18 +01:00
Remi Collet
a467a89f16
Fix tests after fix for #76717
2019-03-20 14:07:26 +01:00
Remi Collet
999370b756
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
NEWS
Revert "Fix #77609 : Tests from mailparse extension fails"
2019-03-20 11:55:06 +01:00
Remi Collet
a785ccd21a
NEWS
2019-03-20 11:54:49 +01:00
Remi Collet
32e7b0864c
Revert "Fix #77609 : Tests from mailparse extension fails"
...
This reverts commit 3ead672394 .
2019-03-20 11:54:27 +01:00
Sara Golemon
4c55b1c16d
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Bump versions for 7.2.18
2019-03-19 14:32:28 -04:00
Sara Golemon
963428a75d
Bump versions for 7.2.18
2019-03-19 14:31:08 -04:00
Remi Collet
5686e6e33e
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
comment out sqlite3.defensive = 1 follow common practice, this is the default value
2019-03-19 16:27:57 +01:00
Remi Collet
78c9a53df7
comment out sqlite3.defensive = 1
...
follow common practice, this is the default value
2019-03-19 16:26:26 +01:00
Christoph M. Becker
a2de42041c
Prepare main branch for PHP 7.3.5
2019-03-19 16:20:55 +01:00
Remi Collet
c421d9afec
fix test for upcoming pcre2 10.33
...
"group name ..." => "subpattern name ..."
2019-03-19 16:15:14 +01:00
Nikita Popov
661bce47ae
Fixed bug #76127
...
Per documentation, and consistent with other preg functions, we
should return false if an error occurred.
2019-03-19 13:57:39 +01:00
Nikita Popov
d53e9c7392
Merge branch 'PHP-7.2' into PHP-7.3
2019-03-19 10:03:05 +01:00
Vlad Temian
fe2885d80a
Fixed bug #77765
...
Set mode 40755 for directories, via FTP stream stat.
Because we already manage to CWD into the current directory,
we should set 40755 as mode, instead of 40644.
2019-03-19 10:02:38 +01:00