diff options
| author | 2021-03-28 18:33:49 +0200 | |
|---|---|---|
| committer | 2021-03-28 18:33:49 +0200 | |
| commit | 150015079fcc5b9904c1310d77f9ec75b6d2303e (patch) | |
| tree | df09cfa1088f5c966081fe62d01df2b0ab130721 /lib | |
| parent | 87d1036647519ecd6f17fd9c2675731cc4fa1dcd (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.php | 1 |
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); |
