X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fparse_url.php;h=ea860f6d318016636f40af1387b842b1d1fe5da0;hb=c2d4b557aeb4b6eb9eee2a6b65b18ab7bf6efe39;hp=f1214e160f1267ab3d39dded5a3235f66d09b025;hpb=2f9642392dcd40fd6d949d607c0cafa337d4637e;p=friendica.git diff --git a/mod/parse_url.php b/mod/parse_url.php index f1214e160f..ea860f6d31 100644 --- a/mod/parse_url.php +++ b/mod/parse_url.php @@ -61,7 +61,7 @@ function parse_url_content(App $a) { // the URL with the corresponding BBCode media tag $redirects = 0; // Fetch the header of the URL - $result = Network::zFetchURL($url, false, $redirects, ["novalidate" => true, "nobody" => true]); + $result = Network::curl($url, false, $redirects, ["novalidate" => true, "nobody" => true]); if($result["success"]) { // Convert the header fields into an array $hdrs = [];