Skip to content

Commit bb010ad

Browse files
committed
Merge branch 'PHP-8.0' into PHP-8.1
2 parents a8497cb + d84b972 commit bb010ad

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ PHP NEWS
1010
. Fixed bug GH-8655 (Casting an object to array does not unwrap refcount=1
1111
references). (Nicolas Grekas)
1212

13+
- Curl:
14+
. Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option. (Pierrick)
15+
1316
- Date:
1417
. Fixed bug #72963 (Null-byte injection in CreateFromFormat and related
1518
functions). (Derick)

ext/curl/interface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2363,7 +2363,6 @@ static int _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue, bool i
23632363
case CURLOPT_RTSP_REQUEST:
23642364
case CURLOPT_RTSP_SERVER_CSEQ:
23652365
case CURLOPT_WILDCARDMATCH:
2366-
case CURLOPT_TLSAUTH_TYPE:
23672366
case CURLOPT_GSSAPI_DELEGATION:
23682367
case CURLOPT_ACCEPTTIMEOUT_MS:
23692368
case CURLOPT_SSL_OPTIONS:
@@ -2482,6 +2481,7 @@ static int _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue, bool i
24822481
case CURLOPT_MAIL_FROM:
24832482
case CURLOPT_RTSP_STREAM_URI:
24842483
case CURLOPT_RTSP_TRANSPORT:
2484+
case CURLOPT_TLSAUTH_TYPE:
24852485
case CURLOPT_TLSAUTH_PASSWORD:
24862486
case CURLOPT_TLSAUTH_USERNAME:
24872487
case CURLOPT_ACCEPT_ENCODING:

0 commit comments

Comments
 (0)