aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;