Merge branch 'v2.6.x'
authorMichael Wallner <mike@php.net>
Mon, 12 Sep 2016 06:30:57 +0000 (08:30 +0200)
committerMichael Wallner <mike@php.net>
Mon, 12 Sep 2016 06:30:57 +0000 (08:30 +0200)
.gitignore
package.xml
src/php_http_params.c
tests/bug61444.phpt
tests/bug71719.phpt

index 328656c..348538c 100644 (file)
@@ -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
index 29942ef..fe4e1b0 100644 (file)
@@ -31,9 +31,9 @@ https://mdref.m6w6.name/http
   <email>mike@php.net</email>
   <active>yes</active>
  </lead>
- <date>2016-09-07</date>
+ <date>2016-09-12</date>
  <version>
-  <release>3.1.0beta2</release>
+  <release>3.1.0RC1</release>
   <api>3.1.0</api>
  </version>
  <stability>
@@ -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)
 ]]></notes>
  <contents>
   <dir name="/">
@@ -184,6 +188,7 @@ Changes from beta1:
      <file role="test" name="bug69313.phpt"/>
      <file role="test" name="bug69357.phpt"/>
      <file role="test" name="bug71719.phpt"/>
+     <file role="test" name="bug73055.phpt"/>
      <file role="test" name="client001.phpt"/>
      <file role="test" name="client002.phpt"/>
      <file role="test" name="client003.phpt"/>
index 8988f43..92cc558 100644 (file)
@@ -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 */
index 5362c71..fcd26f8 100644 (file)
@@ -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--
 <?php
 include "skipif.inc";
index fb0138b..5322357 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Buffer overflow in HTTP url parsing functions
+Bug #71719 (Buffer overflow in HTTP url parsing functions)
 --SKIPIF--
 <?php
 include "skipif.inc";