aports/testing/php8/fix-curl-test.patch
Andy Postnikov 58e14181e9 testing/php8: security upgrade to 8.0.30
CVE-2023-3823 and CVE-2023-3824
2023-08-04 00:36: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);