]> git.mxchange.org Git - friendica.git/blobdiff - mod/delegate.php
Solving the "Disallow public access to addons listed in the apps menu" has no effect bug
[friendica.git] / mod / delegate.php
index c19df0681d7c5c154a4be90a7a7643682f411dc2..8c50318590532211d965a10e4f75fbf1f48c35ff 100644 (file)
@@ -86,7 +86,7 @@ function delegate_content(&$a) {
 
        $r = q("select nurl from contact where substring_index(contact.nurl,'/',3) = '%s' 
                and contact.uid = %d and contact.self = 0 and network = '%s' ",
-               dbesc($a->get_baseurl()),
+               dbesc(normalise_link($a->get_baseurl())),
                intval(local_user()),
                dbesc(NETWORK_DFRN)
        );