aports/testing/php83/fix-curl-test.patch
2023-08-01 14:25:34 +00:00

15 lines
482 B
Diff

Related to https://github.com/php/php-src/issues/11849
diff --git a/ext/curl/tests/curl_basic_009.phpt b/ext/curl/tests/curl_basic_009.phpt
index 26bc35891c..db56bfaa7f 100644
--- a/ext/curl/tests/curl_basic_009.phpt
+++ b/ext/curl/tests/curl_basic_009.phpt
@@ -7,7 +7,7 @@
--FILE--
<?php
-$url = substr(uniqid(),0,7)."://www.".uniqid().".".uniqid();
+$url = "no".substr(uniqid(),0,5)."://www.".uniqid().".".uniqid();
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);