/var/www/vhosts/ihelp.ro/httpdocs/vendor/guzzlehttp/guzzle/src
NameSizeModeActions
Cookie/-0755rm
Exception/-0755rm
Handler/-0755rm
BodySummarizer.php6310644editdlrm
BodySummarizerInterface.php2330644editdlrm
Client.php184470644editdlrm
ClientInterface.php29000644editdlrm
ClientTrait.php90060644editdlrm
functions.php56880644editdlrm
functions_include.php1600644editdlrm
HandlerStack.php87090644editdlrm
MessageFormatter.php77950644editdlrm
MessageFormatterInterface.php5590644editdlrm
Middleware.php111580644editdlrm
Pool.php47160644editdlrm
PrepareBodyMiddleware.php31490644editdlrm
RedirectMiddleware.php81120644editdlrm
RequestOptions.php110450644editdlrm
RetryMiddleware.php36130644editdlrm
TransferStats.php31780644editdlrm
Utils.php130770644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/guzzlehttp/guzzle/src/Utils.php (13077B)
getHost()) { $asciiHost = self::idnToAsci($uri->getHost(), $options, $info); if ($asciiHost === false) { $errorBitSet = $info['errors'] ?? 0; $errorConstants = array_filter(array_keys(get_defined_constants()), static function (string $name): bool { return substr($name, 0, 11) === 'IDNA_ERROR_'; }); $errors = []; foreach ($errorConstants as $errorConstant) { if ($errorBitSet & constant($errorConstant)) { $errors[] = $errorConstant; } } $errorMessage = 'IDN conversion failed'; if ($errors) { $errorMessage .= ' (errors: '.implode(', ', $errors).')'; } throw new InvalidArgumentException($errorMessage); } if ($uri->getHost() !== $asciiHost) { // Replace URI only if the ASCII version is different $uri = $uri->withHost($asciiHost); } } return $uri; } /** * @internal */ public static function getenv(string $name): ?string { if (isset($_SERVER[$name])) { return (string) $_SERVER[$name]; } if (\PHP_SAPI === 'cli' && ($value = \getenv($name)) !== false && $value !== null) { return (string) $value; } return null; } /** * @return string|false */ private static function idnToAsci(string $domain, int $options, ?array &$info = []) { if (\function_exists('idn_to_ascii') && \defined('INTL_IDNA_VARIANT_UTS46')) { return \idn_to_ascii($domain, $options, \INTL_IDNA_VARIANT_UTS46, $info); } throw new \Error('ext-idn or symfony/polyfill-intl-idn not loaded or too old'); } }