summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-03-28 18:33:49 +0200
committerGravatar GitHub <noreply@github.com> 2021-03-28 18:33:49 +0200
commit150015079fcc5b9904c1310d77f9ec75b6d2303e (patch)
treedf09cfa1088f5c966081fe62d01df2b0ab130721 /lib
parent87d1036647519ecd6f17fd9c2675731cc4fa1dcd (diff)
SimplePie fix old regression during manual merge (#3568)
Bug from https://github.com/FreshRSS/FreshRSS/pull/2136 Related upstream PR https://github.com/simplepie/simplepie/pull/676
Diffstat (limited to 'lib')
-rw-r--r--lib/SimplePie/SimplePie/Item.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/SimplePie/SimplePie/Item.php b/lib/SimplePie/SimplePie/Item.php
index 71a9bdbaa..3ac4fa882 100644
--- a/lib/SimplePie/SimplePie/Item.php
+++ b/lib/SimplePie/SimplePie/Item.php
@@ -2862,6 +2862,7 @@ class SimplePie_Item
$width = null;
$url = $this->sanitize($enclosure[0]['attribs']['']['url'], SIMPLEPIE_CONSTRUCT_IRI, $this->get_base($enclosure[0]));
+ $url = $this->feed->sanitize->https_url($url);
if (isset($enclosure[0]['attribs']['']['type']))
{
$type = $this->sanitize($enclosure[0]['attribs']['']['type'], SIMPLEPIE_CONSTRUCT_TEXT);