aboutsummaryrefslogtreecommitdiffstats
path: root/include/network.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2017-10-24 06:03:09 +0200
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2017-10-24 06:03:09 +0200
commitc99962106d6f9a65f01c2be4a9708d35dec7ca90 (patch)
treeb8c9439eaa107f03aae314146a21340e9e47d2b5 /include/network.php
parentf648809856b852d3819a8c1a0d624fd725ed8a34 (diff)
parente67ff5c122087f878111ad99d1c3b2328b967ab2 (diff)
downloadvolse-hubzilla-c99962106d6f9a65f01c2be4a9708d35dec7ca90.tar.gz
volse-hubzilla-c99962106d6f9a65f01c2be4a9708d35dec7ca90.tar.bz2
volse-hubzilla-c99962106d6f9a65f01c2be4a9708d35dec7ca90.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'include/network.php')
-rw-r--r--include/network.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/network.php b/include/network.php
index 7e2dbf4cf..2f29a70c4 100644
--- a/include/network.php
+++ b/include/network.php
@@ -716,6 +716,10 @@ function scale_external_images($s, $include_link = true, $scale_replace = false)
$scaled = str_replace($scale_replace[0], $scale_replace[1], $mtch[3]);
else
$scaled = $mtch[3];
+
+ if(! strpbrk(substr($scaled,0,1),'zhfmt'))
+ continue;
+
$i = z_fetch_url($scaled,true);