diff options
author | Haakon Meland Eriksen <haakon.eriksen@far.no> | 2017-10-24 06:03:09 +0200 |
---|---|---|
committer | Haakon Meland Eriksen <haakon.eriksen@far.no> | 2017-10-24 06:03:09 +0200 |
commit | c99962106d6f9a65f01c2be4a9708d35dec7ca90 (patch) | |
tree | b8c9439eaa107f03aae314146a21340e9e47d2b5 /include/network.php | |
parent | f648809856b852d3819a8c1a0d624fd725ed8a34 (diff) | |
parent | e67ff5c122087f878111ad99d1c3b2328b967ab2 (diff) | |
download | volse-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.php | 4 |
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); |