aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Photo.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php
index 7365a5f64..967a3b703 100644
--- a/Zotlabs/Module/Photo.php
+++ b/Zotlabs/Module/Photo.php
@@ -165,7 +165,9 @@ class Photo extends \Zotlabs\Web\Controller {
if($cache_mode['on'])
call_hooks('cache_url_hook', $cache);
if(! $cache['status']) {
- header("Location: " . htmlspecialchars_decode($r[0]['display_path']));
+ $url = htmlspecialchars_decode($r[0]['display_path']);
+ call_hooks('cache_sslify_hook', $url);
+ header("Location: " . $url);
killme();
}
}