We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guzzle version(s) affected: 6.5.3 PHP version: 7.3.14 cURL version: 7.64.0
Description With some domains containing multiple hyphens, IDN conversion fails with this error:
PHP Fatal error: Uncaught GuzzleHttp\Exception\InvalidArgumentException: IDN conversion failed (errors: IDNA_ERROR_HYPHEN_3_4) in /home/pierre/www/alltube/vendor/guzzlehttp/guzzle/src/Utils.php:56
How to reproduce
<?php use GuzzleHttp\Client; require_once __DIR__ . '/vendor/autoload.php'; $client = new Client(); $client->get('https://r3---sn-25glene6.example.com/');
Possible Solution The workaround I am using:
$client = new Client(['idn_conversion' => false]);
The text was updated successfully, but these errors were encountered:
I think #2626 should fix your problem. Can you confirm please?
Sorry, something went wrong.
I am using symfony/polyfill-intl-idn 1.17.0.
6606165 does indeed fix the issue.
Great, thanks for confirming.
Thank you.
#2626 has been merged.
No branches or pull requests
Guzzle version(s) affected: 6.5.3
PHP version: 7.3.14
cURL version: 7.64.0
Description
With some domains containing multiple hyphens, IDN conversion fails with this error:
How to reproduce
Possible Solution
The workaround I am using:
The text was updated successfully, but these errors were encountered: