}
/**
- * @brief Do a webfinger request. For details see RFC 7033: <https://tools.ietf.org/html/rfc7033>
+ * @brief Perform a webfinger request.
+ *
+ * For details see RFC 7033: <https://tools.ietf.org/html/rfc7033>
*
* @param string $url Address that should be probed
*
}
/**
- * @brief Poll the noscrape page (Friendica specific)
+ * @brief Poll the Friendica specific noscrape page.
*
- * "noscrape" is a faster alternative to fetching the data from the hcard.
+ * "noscrape" is a faster alternative to fetch the data from the hcard.
+ * This functionality was originally created for the directory.
*
* @param string $noscrape Link to the noscrape page
* @param array $data The already fetched data
isset($data["pubkey"]) AND ($hcard != "")) {
$data["network"] = NETWORK_DIASPORA;
+ // The Diaspora handle must always be lowercase
+ $data["addr"] = strtolower($data["addr"]);
+
// We have to overwrite the detected value for "notify" since Hubzilla doesn't send it
$data["notify"] = $data["baseurl"]."/receive/users/".$data["guid"];
$data["batch"] = $data["baseurl"]."/receive/public";