From: Michael Wallner Date: Thu, 13 Dec 2012 15:45:07 +0000 (+0000) Subject: separate zval, so source is not urlencoded X-Git-Tag: RELEASE_2_1_0_RC3~10^2^2~66 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=f08f6dfe8fc5a2af698cac626b42de1619ef6332;p=m6w6%2Fext-http separate zval, so source is not urlencoded --- diff --git a/php_http_params.c b/php_http_params.c index 9ff51a7..d669f25 100644 --- a/php_http_params.c +++ b/php_http_params.c @@ -575,7 +575,7 @@ static inline void shift_key(php_http_buffer_t *buf, char *key_str, size_t key_l static inline void shift_val(php_http_buffer_t *buf, zval *zvalue, const char *vss, size_t vsl, unsigned flags TSRMLS_DC) { if (Z_TYPE_P(zvalue) != IS_BOOL) { - zval *tmp = php_http_ztyp(IS_STRING, zvalue); + zval *tmp = php_http_zsep(1, IS_STRING, zvalue); prepare_value(flags, tmp TSRMLS_CC); php_http_buffer_append(buf, vss, vsl);