php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77493 curl_basic_009 fails with newer curl versions
Submitted: 2019-01-20 21:24 UTC Modified: 2020-09-23 08:50 UTC
Votes:2
Avg. Score:3.5 ± 0.5
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: viktork at primis dot tech Assigned: cmb (profile)
Status: Closed Package: Testing related
PHP Version: 7.1.26 OS: CentOS 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: viktork at primis dot tech
New email:
PHP Version: OS:

 

 [2019-01-20 21:24 UTC] 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.


Patches

php_curl_basic_009.patch (last revision 2019-01-20 21:24 UTC by viktork at primis dot tech)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-09-23 08:50 UTC] cmb@php.net
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
 [2020-09-23 08:50 UTC] cmb@php.net
-Status: Open +Status: Closed
 [2020-09-23 08:50 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 06:01:29 2024 UTC