From: Dmitry Stogov Date: Thu, 15 May 2014 21:29:40 +0000 (+0400) Subject: Fixed handling of compressed SOAP requests X-Git-Tag: POST_PHPNG_MERGE~346 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b8b55bc16aaddb7b7fcaefcffd72e788e2536bf;p=php Fixed handling of compressed SOAP requests --- diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 36c6ec5c50..1f7dbdeeac 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -1572,7 +1572,7 @@ PHP_METHOD(SoapServer, handle) zval filter_params; array_init_size(&filter_params, 1); - add_assoc_long_ex(&filter_params, ZEND_STRS("window"), 0x2f); /* ANY WBITS */ + add_assoc_long_ex(&filter_params, "window", sizeof("window")-1, 0x2f); /* ANY WBITS */ zf = php_stream_filter_create("zlib.inflate", &filter_params, 0 TSRMLS_CC); zval_dtor(&filter_params);