use www.example.com

This commit is contained in:
DubbleClick 2025-07-19 15:22:23 +07:00
parent 6f9a45b54a
commit 9b72f57463
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ assert(function_exists('curl_close'));
$curl_version = curl_version();
if (stripos($curl_version['ssl_version'], 'schannel') !== false) {
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, 'https://example.com/');
curl_setopt($curl, CURLOPT_URL, 'https://www.example.com/');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_HEADER, 0);
$data = curl_exec($curl);

View File

@ -5,5 +5,5 @@ declare(strict_types=1);
assert(function_exists('openssl_digest'));
assert(openssl_digest('123456', 'md5') === 'e10adc3949ba59abbe56e057f20f883e');
if (file_exists('/etc/ssl/openssl.cnf')) {
assert(file_get_contents('https://example.com/') !== false);
assert(file_get_contents('https://www.example.com/') !== false);
}