zval *params = NULL, *qarray = NULL, *qstring = NULL, **_GET, **_SERVER, **QUERY_STRING;
SET_EH_THROW_HTTP();
- if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|bz", &global, ¶ms)) {
+ if (!sapi_module.treat_data) {
+ http_error(HE_ERROR, HTTP_E_QUERYSTRING, "The SAPI does not have a treat_data function registered");
+ } else if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|bz", &global, ¶ms)) {
if (global) {
if ( (SUCCESS == zend_hash_find(&EG(symbol_table), "_SERVER", sizeof("_SERVER"), (void **) &_SERVER)) &&
(Z_TYPE_PP(_SERVER) == IS_ARRAY) &&
</lead>
<date>2006-00-00</date>
<version>
- <release>0.25.0</release>
- <api>0.25.0</api>
+ <release>1.0.0RC</release>
+ <api>1.0.0RC</api>
</version>
<stability>
<release>beta</release>
</stability>
<license>BSD, revised</license>
<notes><![CDATA[
-* Fixed bug #6924 (Linking fails on Mac OSX).
-* Fixed HttpRequest::addRawPostData().
-
-- Renamed HttpQueryString::getInstance() to more commonly used ::singleton().
-- Renamed HttpQueryString::iconv() to more generic ::xlate().
-
-+ Added feature request http_put_data() and HttpRequest::(set|get|add)PutData().
-+ Added 'range' request option.
-+ Added 'proxytype' request option.
-+ Added HTTP_PROXY_HTTP, HTTP_PROXY_SOCKS4, HTTP_PROXY_SOCKS5 constants.
+* Fixed possible crash in HttpQueryString if the SAPI does not have a treat_data function registered.
]]></notes>
<contents>
<dir name="/">
#ifndef PHP_EXT_HTTP_H
#define PHP_EXT_HTTP_H
-#define PHP_EXT_HTTP_VERSION "0.25.0"
+#define PHP_EXT_HTTP_VERSION "1.0.0RC1"
#ifdef HAVE_CONFIG_H
# include "config.h"