mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 16:45:55 +00:00
Respect 'proxy_all' during optional SSL whitelist rewrite
This commit is contained in:
@@ -126,8 +126,12 @@ class Af_Zz_ImgProxy extends Plugin {
|
||||
foreach (explode(" " , $this->ssl_known_whitelist) as $host) {
|
||||
if (substr(strtolower($parts['host']), -strlen($host)) === strtolower($host)) {
|
||||
$parts['scheme'] = 'https';
|
||||
|
||||
return build_url($parts);
|
||||
$url = build_url($parts);
|
||||
if ($all_remote && $is_remote) {
|
||||
break;
|
||||
} else {
|
||||
return $url;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user