]> git.mxchange.org Git - friendica.git/blobdiff - mod/follow.php
notags calls
[friendica.git] / mod / follow.php
index 5c6c6d9d34c37a50d3404f4fced854702aa001d6..f69cb4abedc7cb455fe61fedec8235b4b1d92838 100644 (file)
@@ -13,6 +13,7 @@ use Friendica\Model\Profile;
 use Friendica\Network\Probe;
 use Friendica\Database\DBA;
 use Friendica\Util\Proxy as ProxyUtils;
+use Friendica\Util\Strings;
 
 function follow_post(App $a)
 {
@@ -25,7 +26,7 @@ function follow_post(App $a)
        }
 
        $uid = local_user();
-       $url = notags(trim($_REQUEST['url']));
+       $url = Strings::removeTags(trim($_REQUEST['url']));
        $return_path = 'contacts';
 
        // Makes the connection request for friendica contacts easier
@@ -60,7 +61,7 @@ function follow_content(App $a)
        }
 
        $uid = local_user();
-       $url = notags(trim($_REQUEST['url']));
+       $url = Strings::removeTags(trim($_REQUEST['url']));
 
        $submit = L10n::t('Submit Request');