X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-json_post;a=blobdiff_plain;f=php_json_post.c;h=4a0fcd30387a1d9346461aa53343e017a2e6e76b;hp=fd3165cf182633176106d64f8ee5603db69f8154;hb=fff47a3d02af70ce677cc2f880d3ab8be2233463;hpb=27c5605043a78052ef303a573c5b93858ec4d0f4 diff --git a/php_json_post.c b/php_json_post.c index fd3165c..4a0fcd3 100644 --- a/php_json_post.c +++ b/php_json_post.c @@ -63,7 +63,7 @@ static SAPI_POST_HANDLER_FUNC(php_json_post_handler) ZVAL_NULL(&tmp); - php_json_decode(&tmp, json->val, json->len, JSON_POST_G(flags), PG(max_input_nesting_level)); + php_json_decode_ex(&tmp, json->val, json->len, JSON_POST_G(flags), PG(max_input_nesting_level)); switch (Z_TYPE(tmp)) { case IS_OBJECT: