mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
simplepie: fix fatal error with php 8.2 - issue is filed upstream but probably will not be fixed any time soon
This commit is contained in:
4
vendor/simplepie/simplepie/src/Sanitize.php
vendored
4
vendor/simplepie/simplepie/src/Sanitize.php
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user