Bug #77493 [Opn->Csd]: curl_basic_009 fails with newer curl versions

From: Date: Wed, 23 Sep 2020 08:50:13 +0000
Subject: Bug #77493 [Opn->Csd]: curl_basic_009 fails with newer curl versions
References: 1  Groups: php.bugs php.qa 
Request: Send a blank email to php-bugs+get-229167@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77493&edit=1

 ID:                 77493
 Updated by:         cmb@php.net
 Reported by:        viktork at primis dot tech
 Summary:            curl_basic_009 fails with newer curl versions
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Testing related
 Operating System:   CentOS 7
 PHP Version:        7.1.26
 Block user comment: N
 Private report:     N

 New Comment:

Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=9439d65f0d74d391f9620491896a1a04bc033648
Log: Fix #77493: curl_basic_009 fails with newer curl versions


Previous Comments:
------------------------------------------------------------------------
[2019-01-20 21:24:02] viktork at primis dot tech

Description:
------------
PHP's official ext/curl/tests/curl_basic_009.phpt fails with newer CURL versions(At least all
>= 7.51) due to protocol size limit introduced in the library(libcurl will return
CURLE_URL_MALFORMAT instead of CURLE_UNSUPPORTED_PROTOCOL then length exceeds 7
characters(lib/urlapi-int.h:#define MAX_SCHEME_LEN 8, including \0)).

Patch is attached - Will work with both old and new versions.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=77493&edit=1


Thread (2 messages)

« previous php.bugs (#229167) next »