forked from php/php-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* PHP-5.5: fix #65070, bgcolor does not use the same format as the input image with imagerotate fix #65070, bgcolor does not use the same format as the input image with imagerotate Fix the spelling of the php_cli_server_http_response_status_code_pair typedef. Change the search in get_status_string() to correctly handle unknown codes. Update git rules (5.5 is stable, 5.3 sec only) skip test for bug #64936 when tokenizer not built Bump version Update credits Merge NEWS from PHP 5.4 branch Reorder NEWS for PHP 5.5.0 final Conflicts: configure.in ext/gd/libgd/gd_interpolation.c main/php_version.h
- Loading branch information
Showing
9 changed files
with
182 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,15 +45,16 @@ Currently we have the following branches in use:: | |
|
||
master The active development branch. | ||
|
||
PHP-5.5 Is used to release the PHP 5.5.x series. It allows for larger | ||
enhancements. | ||
|
||
PHP-5.4 Is used to release the PHP 5.4.x series. This is current | ||
PHP-5.5 Is used to release the PHP 5.5.x series. This is a current | ||
stable version and is open for bugfixes only. | ||
|
||
PHP-5.3 Is used to release the PHP 5.3.x series. This is current | ||
PHP-5.4 Is used to release the PHP 5.4.x series. This is a current | ||
stable version and is open for bugfixes only. | ||
|
||
PHP-5.3 Is used to release the PHP 5.3.x series. This is currently | ||
in extended support and open forsecurity fixes only. Triaged | ||
via [email protected] | ||
|
||
PHP-5.2 This branch is closed. | ||
|
||
PHP-5.1 This branch is closed. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--TEST-- | ||
Bug #65066 (Cli server not responsive when responding with 422 http status code): 100 status code | ||
--INI-- | ||
allow_url_fopen=1 | ||
--SKIPIF-- | ||
<?php | ||
include "skipif.inc"; | ||
?> | ||
--FILE-- | ||
<?php | ||
include "php_cli_server.inc"; | ||
php_cli_server_start('http_response_code(100);'); | ||
|
||
list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); | ||
$port = intval($port)?:80; | ||
|
||
$fp = fsockopen($host, $port, $errno, $errstr, 0.5); | ||
if (!$fp) { | ||
die("connect failed"); | ||
} | ||
|
||
if(fwrite($fp, <<<HEADER | ||
GET / HTTP/1.1 | ||
Host: {$host} | ||
HEADER | ||
)) { | ||
while (!feof($fp)) { | ||
echo fgets($fp); | ||
} | ||
} | ||
?> | ||
--EXPECTF-- | ||
HTTP/1.1 100 Continue | ||
Host: %s | ||
Connection: close | ||
X-Powered-By: PHP/%s | ||
Content-type: text/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--TEST-- | ||
Bug #65066 (Cli server not responsive when responding with 422 http status code): 422 status code | ||
--INI-- | ||
allow_url_fopen=1 | ||
--SKIPIF-- | ||
<?php | ||
include "skipif.inc"; | ||
?> | ||
--FILE-- | ||
<?php | ||
include "php_cli_server.inc"; | ||
php_cli_server_start('http_response_code(422);'); | ||
|
||
list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); | ||
$port = intval($port)?:80; | ||
|
||
$fp = fsockopen($host, $port, $errno, $errstr, 0.5); | ||
if (!$fp) { | ||
die("connect failed"); | ||
} | ||
|
||
if(fwrite($fp, <<<HEADER | ||
GET / HTTP/1.1 | ||
Host: {$host} | ||
HEADER | ||
)) { | ||
while (!feof($fp)) { | ||
echo fgets($fp); | ||
} | ||
} | ||
?> | ||
--EXPECTF-- | ||
HTTP/1.1 422 Unknown Status Code | ||
Host: %s | ||
Connection: close | ||
X-Powered-By: PHP/%s | ||
Content-type: text/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--TEST-- | ||
Bug #65066 (Cli server not responsive when responding with 422 http status code): 511 status code | ||
--INI-- | ||
allow_url_fopen=1 | ||
--SKIPIF-- | ||
<?php | ||
include "skipif.inc"; | ||
?> | ||
--FILE-- | ||
<?php | ||
include "php_cli_server.inc"; | ||
php_cli_server_start('http_response_code(511);'); | ||
|
||
list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); | ||
$port = intval($port)?:80; | ||
|
||
$fp = fsockopen($host, $port, $errno, $errstr, 0.5); | ||
if (!$fp) { | ||
die("connect failed"); | ||
} | ||
|
||
if(fwrite($fp, <<<HEADER | ||
GET / HTTP/1.1 | ||
Host: {$host} | ||
HEADER | ||
)) { | ||
while (!feof($fp)) { | ||
echo fgets($fp); | ||
} | ||
} | ||
?> | ||
--EXPECTF-- | ||
HTTP/1.1 511 Network Authentication Required | ||
Host: %s | ||
Connection: close | ||
X-Powered-By: PHP/%s | ||
Content-type: text/html |