From 798f791b6bee4b44b339c4e39c9a6dd50c214992 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 7 Nov 2023 08:28:42 +0000 Subject: simplepie: fix fatal error with php 8.2 - issue is filed upstream but probably will not be fixed any time soon --- vendor/simplepie/simplepie/src/Sanitize.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vendor/simplepie/simplepie/src/Sanitize.php b/vendor/simplepie/simplepie/src/Sanitize.php index 1f15bb967..7416c88e4 100644 --- a/vendor/simplepie/simplepie/src/Sanitize.php +++ b/vendor/simplepie/simplepie/src/Sanitize.php @@ -316,6 +316,10 @@ class Sanitize implements RegistryAware */ protected function is_https_domain($domain) { + + // https://github.com/simplepie/simplepie/issues/852 + $domain = (string) $domain; + $domain = trim($domain, '. '); $segments = array_reverse(explode('.', $domain)); $node =& $this->https_domains; -- cgit v1.2.3