Skip to content

Commit 4f2eb92

Browse files
nielsdosiluuu1994
authored andcommitted
Fix phpGH-14307: Test curl_basic_024 fails with curl 8.8.0
Curl changed the behaviour, from the changelog: - lib: make protocol handlers store scheme name lowercase curl/curl@c294f9c From the docs: "The returned scheme might be upper or lowercase. Do comparisons case insensitively." Closes phpGH-14312.
1 parent 251195b commit 4f2eb92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/curl/tests/curl_basic_024.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var_dump(0 === curl_getinfo($ch, CURLINFO_PROXY_SSL_VERIFYRESULT));
2525
var_dump(curl_getinfo($ch, CURLINFO_SCHEME));
2626
curl_close($ch);
2727
?>
28-
--EXPECT--
28+
--EXPECTF--
2929
bool(true)
3030
bool(true)
31-
string(4) "HTTP"
31+
string(4) "%r(HTTP|http)%r"

0 commit comments

Comments
 (0)