aboutsummaryrefslogtreecommitdiffstats
path: root/include/network.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-23 22:29:29 -0700
committerzotlabs <mike@macgirvin.com>2017-10-23 22:29:29 -0700
commit59a9f6bf026e533e0702c503be1ce046c032d68f (patch)
treecef712de5fbecbe7af5fb3a1f5e85586850d9e83 /include/network.php
parent25988ddefa201eb031fac97d5046c19184d8d015 (diff)
parente67ff5c122087f878111ad99d1c3b2328b967ab2 (diff)
downloadvolse-hubzilla-59a9f6bf026e533e0702c503be1ce046c032d68f.tar.gz
volse-hubzilla-59a9f6bf026e533e0702c503be1ce046c032d68f.tar.bz2
volse-hubzilla-59a9f6bf026e533e0702c503be1ce046c032d68f.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
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);