diff options
Diffstat (limited to 'dev-php/pecl-http/files/pecl-http-3.2.4-curl-cookies.patch')
-rw-r--r-- | dev-php/pecl-http/files/pecl-http-3.2.4-curl-cookies.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-php/pecl-http/files/pecl-http-3.2.4-curl-cookies.patch b/dev-php/pecl-http/files/pecl-http-3.2.4-curl-cookies.patch new file mode 100644 index 000000000000..3c124b4624a6 --- /dev/null +++ b/dev-php/pecl-http/files/pecl-http-3.2.4-curl-cookies.patch @@ -0,0 +1,11 @@ +--- a/src/php_http_client_curl.c 2021-01-13 10:34:34.000000000 -0500 ++++ b/src/php_http_client_curl.c 2021-09-22 10:38:58.854615743 -0400 +@@ -834,7 +834,7 @@ + } else { + storage->cookiestore = NULL; + } +- if ( CURLE_OK != curl_easy_setopt(ch, CURLOPT_COOKIEFILE, storage->cookiestore) ++ if ( CURLE_OK != curl_easy_setopt(ch, CURLOPT_COOKIEFILE, storage->cookiestore ? storage->cookiestore : "") + || CURLE_OK != curl_easy_setopt(ch, CURLOPT_COOKIEJAR, storage->cookiestore) + ) { + return FAILURE; |