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

 ID:                 77493
 Updated by:         c...@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 cmbecke...@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

Reply via email to