From: Michael Wallner Date: Mon, 12 Sep 2016 06:30:57 +0000 (+0200) Subject: Merge branch 'v2.6.x' X-Git-Tag: RELEASE_3_1_0_RC1~32 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=b3831bc5f19cf32880ea19341c3527f0e9553517;hp=0ccb6d6575f81affd97a78ba1a88641ad41b4b55 Merge branch 'v2.6.x' --- diff --git a/.gitignore b/.gitignore index 328656c..348538c 100644 --- a/.gitignore +++ b/.gitignore @@ -42,6 +42,7 @@ lcov_data *.phar !travis/*.phar vendor/ +<<<<<<< HEAD /php_http_api.h /php_http_buffer.h /php_http_client.h @@ -74,3 +75,39 @@ vendor/ /php_http_utf8.h /php_http_version.h /tests/helper/server.log +======= +tests/helper/server.log +php_http_api.h +php_http_buffer.h +php_http_client.h +php_http_client_curl.h +php_http_client_curl_event.h +php_http_client_curl_user.h +php_http_client_request.h +php_http_client_response.h +php_http_cookie.h +php_http_curl.h +php_http_encoding.h +php_http_env.h +php_http_env_request.h +php_http_env_response.h +php_http_etag.h +php_http_exception.h +php_http_filter.h +php_http_header.h +php_http_header_parser.h +php_http_info.h +php_http_message.h +php_http_message_body.h +php_http_message_parser.h +php_http_misc.h +php_http_negotiate.h +php_http_object.h +php_http_options.h +php_http_params.h +php_http_querystring.h +php_http_response_codes.h +php_http_url.h +php_http_utf8.h +php_http_version.h +>>>>>>> v2.6.x diff --git a/package.xml b/package.xml index 29942ef..fe4e1b0 100644 --- a/package.xml +++ b/package.xml @@ -31,9 +31,9 @@ https://mdref.m6w6.name/http mike@php.net yes - 2016-09-07 + 2016-09-12 - 3.1.0beta2 + 3.1.0RC1 3.1.0 @@ -68,6 +68,10 @@ https://mdref.m6w6.name/http Changes from beta1: * Fixed recursive calls to the event loop dispatcher + +Changes from beta2: +* Fix bug #73055: crash in http\QueryString (Mike, @rc0r) +* Fix HTTP/2 version parser for older libcurl versions (Mike) ]]> @@ -184,6 +188,7 @@ Changes from beta1: + diff --git a/src/php_http_params.c b/src/php_http_params.c index 8988f43..92cc558 100644 --- a/src/php_http_params.c +++ b/src/php_http_params.c @@ -489,7 +489,7 @@ static void merge_param(HashTable *params, zval *zdata, zval **current_param, zv zval *test_ptr; while (Z_TYPE_P(zdata_ptr) == IS_ARRAY && (test_ptr = zend_hash_get_current_data(Z_ARRVAL_P(zdata_ptr)))) { - if (Z_TYPE_P(test_ptr) == IS_ARRAY) { + if (Z_TYPE_P(test_ptr) == IS_ARRAY && Z_TYPE_P(ptr) == IS_ARRAY) { zval *tmp_ptr = ptr; /* now find key in ptr */ diff --git a/tests/bug61444.phpt b/tests/bug61444.phpt index 5362c71..fcd26f8 100644 --- a/tests/bug61444.phpt +++ b/tests/bug61444.phpt @@ -1,5 +1,5 @@ --TEST-- -. become _ in query strings due to php_default_treat_data() +Bug #61444 (. become _ in query strings due to php_default_treat_data()) --SKIPIF--