[php-src] Issue #11849: curl_basic_009.phpt test fails on curl 8.2.1
| From: | andypost | Date: | Tue, 01 Aug 2023 13:18:31 +0000 |
| Subject: | [php-src] Issue #11849: curl_basic_009.phpt test fails on curl 8.2.1 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-245081@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/11849
Author: andypost
### Description
The following test fail on all arches:
```
TEST 5013/16181 [ext/curl/tests/curl_basic_009.phpt]
========DIFF========
+ string(70) "URL rejected: Port number was not a decimal number between 0 and 65535"
+ int(3)
- string(%d) "%Srotocol%s"
- int(1)
========DONE========
```
Also reproducible at shell
```
$ docker run --rm -it alpine:edge
/ # apk add curl
...
(8/8) Installing curl (8.2.1-r0)
Executing busybox-1.36.0-r5.trigger
Executing ca-certificates-20230506-r0.trigger
OK: 12 MiB in 23 packages
/ # curl 64c900c://www.64c900c401af4
curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535
```
But I expected this output instead like Ubuntu with curl 788.1:
```
$ curl 64c900c://www.64c900c401af4
curl: (1) Protocol "64c900c" not supported or disabled in libcurl
```
### PHP Version
PHP 8.2.9
### Operating System
Alpinelinux