]> granicus.if.org Git - php/log
php
8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Tue, 10 Jan 2017 11:51:56 +0000 (11:51 +0000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Prevent fd leak in readdir_r that causes false negative on readdir_r implementation when compiled with AddressSanitizer

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Tue, 10 Jan 2017 11:51:39 +0000 (11:51 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Prevent fd leak in readdir_r that causes false negative on readdir_r implementation when compiled with AddressSanitizer

8 years agoPrevent fd leak in readdir_r that causes false negative on readdir_r implementation...
Ondřej Surý [Tue, 10 Jan 2017 09:21:54 +0000 (10:21 +0100)]
Prevent fd leak in readdir_r that causes false negative on readdir_r implementation when compiled with AddressSanitizer

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Tue, 10 Jan 2017 06:21:14 +0000 (06:21 +0000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed #73902 mention router support in usage output for php-cli

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Tue, 10 Jan 2017 06:20:56 +0000 (06:20 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed #73902 mention router support in usage output for php-cli

8 years agoFixed #73902 mention router support in usage output for php-cli
Joe Watkins [Tue, 10 Jan 2017 06:19:34 +0000 (06:19 +0000)]
Fixed #73902 mention router support in usage output for php-cli

8 years agoMerge branch 'PHP-7.1'
Sara Golemon [Tue, 10 Jan 2017 00:08:31 +0000 (16:08 -0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fix open_basedir check for glob:// opendir wrapper

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Sara Golemon [Tue, 10 Jan 2017 00:08:08 +0000 (16:08 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix open_basedir check for glob:// opendir wrapper

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Sara Golemon [Tue, 10 Jan 2017 00:07:33 +0000 (16:07 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix open_basedir check for glob:// opendir wrapper

8 years agoCompact literals: Deduplicate empty array literals
Nikita Popov [Fri, 30 Dec 2016 21:23:12 +0000 (22:23 +0100)]
Compact literals: Deduplicate empty array literals

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Mon, 9 Jan 2017 23:09:41 +0000 (00:09 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Mon, 9 Jan 2017 23:09:02 +0000 (00:09 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoUn-XFAIL serialization test
Nikita Popov [Mon, 9 Jan 2017 23:07:38 +0000 (00:07 +0100)]
Un-XFAIL serialization test

8 years agoFix ZEND_SIGNED_MULTIPLY_LONG for AArch64
Andy Postnikov [Sat, 10 Dec 2016 20:51:17 +0000 (23:51 +0300)]
Fix ZEND_SIGNED_MULTIPLY_LONG for AArch64

Register operands are required in this context.

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Mon, 9 Jan 2017 22:30:07 +0000 (23:30 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Mon, 9 Jan 2017 22:29:33 +0000 (23:29 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFix check for linux getrandom syscall
Leigh [Wed, 23 Dec 2015 21:54:15 +0000 (21:54 +0000)]
Fix check for linux getrandom syscall

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Mon, 9 Jan 2017 22:23:07 +0000 (23:23 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Mon, 9 Jan 2017 22:22:59 +0000 (23:22 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoAdd print zend string function to gdbinit
Mitch Hagstrand [Mon, 9 Jan 2017 21:10:57 +0000 (13:10 -0800)]
Add print zend string function to gdbinit

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Mon, 9 Jan 2017 22:21:17 +0000 (23:21 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Mon, 9 Jan 2017 22:20:29 +0000 (23:20 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-7.1'
Dmitry Stogov [Mon, 9 Jan 2017 19:25:25 +0000 (22:25 +0300)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Improved GENERATOR_CREATE opcode handler.

8 years agoImproved GENERATOR_CREATE opcode handler.
Dmitry Stogov [Mon, 9 Jan 2017 19:24:21 +0000 (22:24 +0300)]
Improved GENERATOR_CREATE opcode handler.

8 years agoFix open_basedir check for glob:// opendir wrapper
Sara Golemon [Mon, 9 Jan 2017 19:02:50 +0000 (11:02 -0800)]
Fix open_basedir check for glob:// opendir wrapper

php_check_open_basedir() expects a local filesystem path,
but we're handing it a `glob://...` URI instead.

Move the check to after the path trim so that we're checking
a meaningful pathspec.

8 years agoRevert "set more suitable defaults for opcache in ini and code"
Joe Watkins [Mon, 9 Jan 2017 17:08:07 +0000 (17:08 +0000)]
Revert "set more suitable defaults for opcache in ini and code"

This reverts commit b655f2d6325c64e5da1f016a2742a6abf669ecaf.

This has been deemed unsuitable for 7.0

8 years agoRemove trailing whitespace
Adam Baratz [Mon, 9 Jan 2017 16:41:54 +0000 (11:41 -0500)]
Remove trailing whitespace

8 years agoExplicitly allow NULL values for dblib compatibility
Adam Baratz [Mon, 9 Jan 2017 16:13:13 +0000 (11:13 -0500)]
Explicitly allow NULL values for dblib compatibility

MSSQL won't necessarily default columns to NULL, see:
https://msdn.microsoft.com/en-us/library/ms174979.aspx#Nullability Rules Within a Table Definition

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Mon, 9 Jan 2017 16:22:01 +0000 (16:22 +0000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  update release process notes

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Mon, 9 Jan 2017 16:21:21 +0000 (16:21 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  update release process notes

8 years agoupdate release process notes
Joe Watkins [Mon, 9 Jan 2017 16:20:48 +0000 (16:20 +0000)]
update release process notes

8 years agoMerge branch 'master' of git.php.net:/php-src
Joe Watkins [Mon, 9 Jan 2017 16:00:03 +0000 (16:00 +0000)]
Merge branch 'master' of git.php.net:/php-src

* 'master' of git.php.net:/php-src:
  Fixed bug #73896 (spl_autoload() crashes when calls magic _call())

8 years agoMerge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
Joe Watkins [Mon, 9 Jan 2017 15:59:40 +0000 (15:59 +0000)]
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1

* 'PHP-7.1' of git.php.net:/php-src:
  Fixed bug #73896 (spl_autoload() crashes when calls magic _call())

8 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Joe Watkins [Mon, 9 Jan 2017 15:59:21 +0000 (15:59 +0000)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:/php-src:
  Fixed bug #73896 (spl_autoload() crashes when calls magic _call())

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Mon, 9 Jan 2017 15:58:22 +0000 (15:58 +0000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  fix stub to accept user properly

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Mon, 9 Jan 2017 15:58:09 +0000 (15:58 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  fix stub to accept user properly

8 years agofix stub to accept user properly
Joe Watkins [Mon, 9 Jan 2017 15:57:46 +0000 (15:57 +0000)]
fix stub to accept user properly

8 years agoMerge branch 'PHP-7.1'
Dmitry Stogov [Mon, 9 Jan 2017 12:13:48 +0000 (15:13 +0300)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed bug #73896 (spl_autoload() crashes when calls magic _call())

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Dmitry Stogov [Mon, 9 Jan 2017 12:12:22 +0000 (15:12 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #73896 (spl_autoload() crashes when calls magic _call())

8 years agoFixed bug #73896 (spl_autoload() crashes when calls magic _call())
Dmitry Stogov [Mon, 9 Jan 2017 12:11:33 +0000 (15:11 +0300)]
Fixed bug #73896 (spl_autoload() crashes when calls magic _call())

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Mon, 9 Jan 2017 11:00:37 +0000 (11:00 +0000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  merge PR #2290: enable opcache in CLI in 7.1+

8 years agomerge PR #2290: enable opcache in CLI in 7.1+
Joe Watkins [Mon, 9 Jan 2017 11:00:05 +0000 (11:00 +0000)]
merge PR #2290: enable opcache in CLI in 7.1+

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Mon, 9 Jan 2017 10:57:29 +0000 (10:57 +0000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  set more suitable defaults for opcache in ini and code

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Mon, 9 Jan 2017 10:56:54 +0000 (10:56 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  set more suitable defaults for opcache in ini and code

8 years agoMerge branch 'pull-request/2291' into PHP-7.0
Joe Watkins [Mon, 9 Jan 2017 10:54:57 +0000 (10:54 +0000)]
Merge branch 'pull-request/2291' into PHP-7.0

* pull-request/2291:
  set more suitable defaults for opcache in ini and code

8 years agoset more suitable defaults for opcache in ini and code
Markus Staab [Mon, 9 Jan 2017 10:33:05 +0000 (11:33 +0100)]
set more suitable defaults for opcache in ini and code

8 years agoMerge branch 'PHP-7.1'
Xinchen Hui [Mon, 9 Jan 2017 08:30:55 +0000 (16:30 +0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed bug #73854 (Always true condition in php_openssl_sockop_io)

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Xinchen Hui [Mon, 9 Jan 2017 08:30:48 +0000 (16:30 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #73854 (Always true condition in php_openssl_sockop_io)

8 years agoFixed bug #73854 (Always true condition in php_openssl_sockop_io)
Xinchen Hui [Mon, 9 Jan 2017 08:30:00 +0000 (16:30 +0800)]
Fixed bug #73854 (Always true condition in php_openssl_sockop_io)

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Mon, 9 Jan 2017 05:33:22 +0000 (05:33 +0000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed bug #72979 money_format stores wrong length on AIX

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Mon, 9 Jan 2017 05:32:22 +0000 (05:32 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #72979 money_format stores wrong length on AIX

8 years agoFixed bug #72979 money_format stores wrong length on AIX
Joe Watkins [Mon, 9 Jan 2017 05:31:41 +0000 (05:31 +0000)]
Fixed bug #72979 money_format stores wrong length on AIX

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Mon, 9 Jan 2017 05:25:31 +0000 (05:25 +0000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  update ip2long_varation2 test to skip for AIX, see bug #72973

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Mon, 9 Jan 2017 05:25:17 +0000 (05:25 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  update ip2long_varation2 test to skip for AIX, see bug #72973

8 years agoupdate ip2long_varation2 test to skip for AIX, see bug #72973
Joe Watkins [Mon, 9 Jan 2017 05:24:44 +0000 (05:24 +0000)]
update ip2long_varation2 test to skip for AIX, see bug #72973

8 years ago[ci skip] news entry for #72974
Joe Watkins [Mon, 9 Jan 2017 05:21:29 +0000 (05:21 +0000)]
[ci skip] news entry for #72974

8 years ago[ci skip] news entry for issue #72974
Joe Watkins [Mon, 9 Jan 2017 05:20:42 +0000 (05:20 +0000)]
[ci skip] news entry for issue #72974

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Mon, 9 Jan 2017 05:15:48 +0000 (05:15 +0000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed #72974 imap is undefined service on AIX

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Mon, 9 Jan 2017 05:15:34 +0000 (05:15 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed #72974 imap is undefined service on AIX

8 years agoFixed #72974 imap is undefined service on AIX
Joe Watkins [Mon, 9 Jan 2017 05:13:46 +0000 (05:13 +0000)]
Fixed #72974 imap is undefined service on AIX

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Mon, 9 Jan 2017 00:37:24 +0000 (00:37 +0000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fix FTP tests for Travis CI.

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Mon, 9 Jan 2017 00:36:57 +0000 (00:36 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix FTP tests for Travis CI.

8 years agoFix FTP tests for Travis CI.
Mitch Hagstrand [Sun, 8 Jan 2017 21:25:46 +0000 (13:25 -0800)]
Fix FTP tests for Travis CI.

This suppresses the errors from stream_socket_server() until
server.inc will not make anymore attempts.

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Sun, 8 Jan 2017 23:01:19 +0000 (00:01 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  improve and generalize the recognition of a cli sapi

8 years agoimprove and generalize the recognition of a cli sapi
Anatol Belski [Sun, 8 Jan 2017 22:54:58 +0000 (23:54 +0100)]
improve and generalize the recognition of a cli sapi

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Sun, 8 Jan 2017 21:05:36 +0000 (21:05 +0000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Use proper file extension for the README

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Sun, 8 Jan 2017 21:05:24 +0000 (21:05 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Use proper file extension for the README

8 years agoUse proper file extension for the README
Markus Staab [Sun, 8 Jan 2017 21:02:50 +0000 (22:02 +0100)]
Use proper file extension for the README

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Sun, 8 Jan 2017 20:28:22 +0000 (20:28 +0000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fix 404 links in Litespeed README - Bug 73890

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Sun, 8 Jan 2017 20:28:05 +0000 (20:28 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix 404 links in Litespeed README - Bug 73890

8 years agoFix 404 links in Litespeed README - Bug 73890
Peter Kokot [Sun, 8 Jan 2017 20:24:25 +0000 (21:24 +0100)]
Fix 404 links in Litespeed README - Bug 73890

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Sun, 8 Jan 2017 19:16:44 +0000 (20:16 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  update NEWS
  update NEWS

8 years agoupdate NEWS
Anatol Belski [Sun, 8 Jan 2017 19:13:27 +0000 (20:13 +0100)]
update NEWS

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sun, 8 Jan 2017 19:12:53 +0000 (20:12 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  update NEWS

8 years agoupdate NEWS
Anatol Belski [Sun, 8 Jan 2017 19:07:16 +0000 (20:07 +0100)]
update NEWS

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Sun, 8 Jan 2017 19:03:33 +0000 (19:03 +0000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  improve FPM tests (mostly for systemd build)

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Sun, 8 Jan 2017 19:03:10 +0000 (19:03 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  improve FPM tests (mostly for systemd build)

8 years agoimprove FPM tests (mostly for systemd build)
Remi Collet [Sun, 8 Jan 2017 18:55:30 +0000 (19:55 +0100)]
improve FPM tests (mostly for systemd build)

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Sun, 8 Jan 2017 17:56:05 +0000 (18:56 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  [ast] Fix exporting **= in expansion of assign op

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sun, 8 Jan 2017 17:54:28 +0000 (18:54 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  [ast] Fix exporting **= in expansion of assign op

8 years ago[ast] Fix exporting **= in expansion of assign op
Sara Golemon [Sat, 6 Aug 2016 22:12:09 +0000 (15:12 -0700)]
[ast] Fix exporting **= in expansion of assign op

(cherry picked from commit 9c3865eb6a72a6f369ba524c5a87b4896a3a9acb)

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Sun, 8 Jan 2017 12:48:54 +0000 (13:48 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sun, 8 Jan 2017 12:48:48 +0000 (13:48 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agodeflate_add(): Don't add unnecessary +1 to size
Nikita Popov [Sun, 8 Jan 2017 12:47:20 +0000 (13:47 +0100)]
deflate_add(): Don't add unnecessary +1 to size

zend_string_realloc will do this by itself.

8 years agoAdd test for buf #65251
Nikita Popov [Sun, 8 Jan 2017 11:00:58 +0000 (12:00 +0100)]
Add test for buf #65251

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Sun, 8 Jan 2017 00:23:51 +0000 (01:23 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  update NEWS

8 years agoupdate NEWS
Anatol Belski [Sun, 8 Jan 2017 00:22:00 +0000 (01:22 +0100)]
update NEWS

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Sat, 7 Jan 2017 23:39:53 +0000 (00:39 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  move various places to the centralized OpenSSL setup routine
  use the new API for opaque symbol in OpenSSL 1.1.x
  implement basic config support for OpenSSL 1.1.x

8 years agomove various places to the centralized OpenSSL setup routine
Anatol Belski [Sat, 7 Jan 2017 23:17:31 +0000 (00:17 +0100)]
move various places to the centralized OpenSSL setup routine

8 years agouse the new API for opaque symbol in OpenSSL 1.1.x
Anatol Belski [Sat, 7 Jan 2017 23:07:54 +0000 (00:07 +0100)]
use the new API for opaque symbol in OpenSSL 1.1.x

8 years agoimplement basic config support for OpenSSL 1.1.x
Anatol Belski [Sat, 7 Jan 2017 22:47:04 +0000 (23:47 +0100)]
implement basic config support for OpenSSL 1.1.x

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Sat, 7 Jan 2017 23:02:42 +0000 (00:02 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sat, 7 Jan 2017 23:02:33 +0000 (00:02 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFix OOB read introduced by previous commit
Nikita Popov [Sat, 7 Jan 2017 23:01:05 +0000 (00:01 +0100)]
Fix OOB read introduced by previous commit

Ooops...

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Sat, 7 Jan 2017 22:56:00 +0000 (23:56 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sat, 7 Jan 2017 22:55:20 +0000 (23:55 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agohttp_fopen_wrapper.c - Handle HTTP headers with varying white space
Rowan Collins [Wed, 30 Mar 2016 22:12:03 +0000 (22:12 +0000)]
http_fopen_wrapper.c - Handle HTTP headers with varying white space

The stream handler assumed all HTTP headers contained exactly one space,
but the standard says there may be zero or more. Should fix Bug #47021,
and any other edge cases caused by a web server sending unusual spacing,
e.g. the MIME type discovered from Content-Type: can no longer contain
leading whitespace.

We strip trailing whitespace from the headers added into
$http_response_header as well.

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Sat, 7 Jan 2017 21:54:26 +0000 (22:54 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sat, 7 Jan 2017 21:54:16 +0000 (22:54 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFixed bug #67583
Nikita Popov [Sat, 7 Jan 2017 21:51:18 +0000 (22:51 +0100)]
Fixed bug #67583

As fcgi_request is an opaque struct as of PHP 7, expose a new API
function fcgi_end() which does fcgi_flush() with end=1 and checks/
sets the ->ended flag.