php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #77493
Patch php_curl_basic_009.patch revision 2019-01-20 21:24 UTC by viktork at primis dot tech

Patch php_curl_basic_009.patch for Testing related Bug #77493

Patch version 2019-01-20 21:24 UTC

Return to Bug #77493 | Download this patch
Patch Revisions:

Developer: viktork@primis.tech

--- ../ext/curl/tests/curl_basic_009.phpt.orig	2019-01-20 23:00:56.772840254 +0200
+++ ../ext/curl/tests/curl_basic_009.phpt	2019-01-20 23:02:00.243870449 +0200
@@ -7,7 +7,7 @@
 --FILE--
 <?php
 
-$url = uniqid()."://www.".uniqid().".".uniqid();
+$url = substr(uniqid(),0,7)."://www.".uniqid().".".uniqid();
 $ch = curl_init();
 curl_setopt($ch, CURLOPT_URL, $url);
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 16:01:27 2024 UTC