aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/simplepie
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-11-07 08:28:42 +0000
committerMario <mario@mariovavti.com>2023-11-07 08:28:42 +0000
commit798f791b6bee4b44b339c4e39c9a6dd50c214992 (patch)
treeba4dac437748e4c02f5821c7f4481eae8d62935c /vendor/simplepie
parent331622309f3f21ea08a1d767967c6143a16f49ef (diff)
downloadvolse-hubzilla-798f791b6bee4b44b339c4e39c9a6dd50c214992.tar.gz
volse-hubzilla-798f791b6bee4b44b339c4e39c9a6dd50c214992.tar.bz2
volse-hubzilla-798f791b6bee4b44b339c4e39c9a6dd50c214992.zip
simplepie: fix fatal error with php 8.2 - issue is filed upstream but probably will not be fixed any time soon
Diffstat (limited to 'vendor/simplepie')
-rw-r--r--vendor/simplepie/simplepie/src/Sanitize.php4
1 files changed, 4 insertions, 0 deletions
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;