X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_client_request.c;h=de7c0ff2535322bf685f157f0e1301e959bbf297;hp=f64c357b6f01bef74ce8e596e234493362f52f75;hb=c55db20a130d729ca8747346c5e5ab9fb52fd89d;hpb=ab8b481d1e510b8d6cfe3c4c8893f2a83353e7da diff --git a/src/php_http_client_request.c b/src/php_http_client_request.c index f64c357..de7c0ff 100644 --- a/src/php_http_client_request.c +++ b/src/php_http_client_request.c @@ -59,7 +59,7 @@ static PHP_METHOD(HttpClientRequest, __construct) PHP_HTTP_INFO(obj->message).request.method = estrndup(meth_str, meth_len); } if (zurl) { - PHP_HTTP_INFO(obj->message).request.url = php_http_url_from_zval(zurl, ~0); + PHP_HTTP_INFO(obj->message).request.url = php_http_url_from_zval(zurl, PHP_HTTP_URL_STDFLAGS); } if (zheaders) { array_copy(Z_ARRVAL_P(zheaders), &obj->message->hdrs);