X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FProxy.php;h=7f3c94672273dacb5341e6d98d6ef4080fd73c4e;hb=a8402109b183e81dad4e5443883dd292df094b86;hp=aad09d118b1c81f431ff076f3badb028c23588e7;hpb=a01872a117208aebb2925cb9cdc6449dced94094;p=friendica.git diff --git a/src/Util/Proxy.php b/src/Util/Proxy.php index aad09d118b..7f3c946722 100644 --- a/src/Util/Proxy.php +++ b/src/Util/Proxy.php @@ -1,6 +1,6 @@ ]*src *= *["\'])([^"\']+)(["\'][^>]*>)/siU', 'self::replaceUrl', $html); + return preg_replace_callback('/(]*src *= *["\'])([^"\']+)(["\'][^>]*>)/siU', [self::class, 'replaceUrl'], $html); } /**