diff options
author | Mario <mario@mariovavti.com> | 2023-11-07 08:28:42 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-11-07 08:28:42 +0000 |
commit | 798f791b6bee4b44b339c4e39c9a6dd50c214992 (patch) | |
tree | ba4dac437748e4c02f5821c7f4481eae8d62935c /vendor/simplepie | |
parent | 331622309f3f21ea08a1d767967c6143a16f49ef (diff) | |
download | volse-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.php | 4 |
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; |