X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fproxy.php;h=abcaf4912798830546409ef6d16876bea9f3db96;hb=0370a2e6f3149d667d4cac7510d93998aefe7d69;hp=c6bf6530218c55085330211c252fbca9073feee4;hpb=307beb47fd4930c665cb7d3032ca4405900af43d;p=friendica.git diff --git a/mod/proxy.php b/mod/proxy.php index c6bf653021..abcaf49127 100644 --- a/mod/proxy.php +++ b/mod/proxy.php @@ -238,6 +238,10 @@ function proxy_url($url, $writemode = false, $size = "") { $a = get_app(); + if (substr($url, 0, strlen('http')) !== 'http') { + return($url); + } + // Only continue if it isn't a local image and the isn't deactivated if (proxy_is_local_image($url)) { $url = str_replace(normalise_link($a->get_baseurl())."/", $a->get_baseurl()."/", $url);