diff options
| author | 2016-02-28 21:45:40 +0100 | |
|---|---|---|
| committer | 2016-02-28 21:45:40 +0100 | |
| commit | 98a27132c07d515d63e4a2da999cde2eeb2ebeac (patch) | |
| tree | 171d066a965147d925fc8088770a9fe107fb6701 /lib/SimplePie/SimplePie.php | |
| parent | d6f43b76350239befd22748418db98e38a4927cc (diff) | |
| parent | 9711f02db75006d622d75142d46c3c8d714c957f (diff) | |
Merge branch 'HTTPS_Everywhere' into dev
Diffstat (limited to 'lib/SimplePie/SimplePie.php')
| -rw-r--r-- | lib/SimplePie/SimplePie.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/SimplePie/SimplePie.php b/lib/SimplePie/SimplePie.php index 6c0962a9f..61bad4e9d 100644 --- a/lib/SimplePie/SimplePie.php +++ b/lib/SimplePie/SimplePie.php @@ -1123,6 +1123,7 @@ class SimplePie $this->strip_attributes(false); $this->add_attributes(false); $this->set_image_handler(false); + $this->set_https_domains(array()); } } @@ -1234,6 +1235,19 @@ class SimplePie } /** + * Set the list of domains for which force HTTPS. + * @see SimplePie_Misc::https_url() + * FreshRSS + */ + public function set_https_domains($domains = array()) + { + if (is_array($domains)) + { + $this->sanitize->set_https_domains($domains); + } + } + + /** * Set the handler to enable the display of cached images. * * @param str $page Web-accessible path to the handler_image.php file. |
