+ // Mastodon profile short-form URL https://domain.tld/@user doesn't return AP data when queried
+ // with HTTPSignature::fetchRaw, but returns the correct data when provided to WebFinger
+ // @see https://github.com/friendica/friendica/issues/13359
+ $webfinger = empty(parse_url($url, PHP_URL_SCHEME)) || strpos($url, '@') !== false;