aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-04-27 17:21:42 -0700
committerzotlabs <mike@macgirvin.com>2019-04-27 17:21:42 -0700
commit55ce80aabea0a810c137e5b9ff71d47bde8fa36b (patch)
tree6d7d80752b82d4baa6f20ceaf6eeb53a5062f1c3 /Zotlabs
parent9a61c0a6fc3c1a0b41de667d9d4cd2d89cee6287 (diff)
parentd3ce91bd8928b55d9be501d3cf140b3f5e6a7e91 (diff)
downloadvolse-hubzilla-55ce80aabea0a810c137e5b9ff71d47bde8fa36b.tar.gz
volse-hubzilla-55ce80aabea0a810c137e5b9ff71d47bde8fa36b.tar.bz2
volse-hubzilla-55ce80aabea0a810c137e5b9ff71d47bde8fa36b.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Photo.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php
index 30670c329..0dc6d0194 100644
--- a/Zotlabs/Module/Photo.php
+++ b/Zotlabs/Module/Photo.php
@@ -173,8 +173,7 @@ class Photo extends \Zotlabs\Web\Controller {
// SSLify if needed
if(strpos(z_root(),'https:') !== false && strpos($url,'https:') === false)
$url = z_root() . '/sslify/' . $filename . '?f=&url=' . urlencode($url);
- header("Location: " . $url);
- killme();
+ goaway($url);
}
}
}