aports/community/php81/fix-new-curl-test.patch
Andy Postnikov a6721d8467 community/php81: security upgrade to 8.1.22
- CVE-2023-3823
- CVE-2023-3824
- CVE-2023-3247
2023-08-14 11:59:49 +00:00

15 lines
472 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 = 'a' . substr(uniqid(),0,6)."://www.example.com";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);