#277 2.0: Cannot follow accounts using LRDDMethod_WebFinger

Затворено
отворено пре 2 година од DelilahHoare · 1 коментара
DelilahHoare коментирира пре 2 година

I've been trying to figure out why GNU Social won't talk to Misskey. The link to webfinger in Misskey's host-meta file does not have a rel attribute, so GNU Social ignores it in LRDDMethod_HostMeta. I've filed a bug with Misskey regarding this. LRDDMethod_WebFinger tries to use /.well-known/webfinger directly without looking it up, but this method only supports the acct scheme, whereas LRDDMethod_HostMeta also supports http(s). GNU Social needs to perform discovery on http(s) URIs to be able to follow an account on Misskey (or Mastodon), so when LRDDMethod_HostMeta fails, it ends up giving up.

   WebFinger is neutral regarding the scheme of such a
   URI: it could be an "acct" URI [18], an "http" or "https" URI, a
   "mailto" URI [19], or some other scheme.
  • RFC 7033
I've been trying to figure out why GNU Social won't talk to Misskey. The link to webfinger in Misskey's `host-meta` file does not have a `rel` attribute, so GNU Social ignores it in `LRDDMethod_HostMeta`. I've filed a bug with Misskey regarding this. `LRDDMethod_WebFinger` tries to use `/.well-known/webfinger` directly without looking it up, but this method only supports the `acct` scheme, whereas `LRDDMethod_HostMeta` also supports http(s). GNU Social needs to perform discovery on http(s) URIs to be able to follow an account on Misskey (or Mastodon), so when `LRDDMethod_HostMeta` fails, it ends up giving up. ``` WebFinger is neutral regarding the scheme of such a URI: it could be an "acct" URI [18], an "http" or "https" URI, a "mailto" URI [19], or some other scheme. ``` - RFC 7033
Diogo Cordeiro коментирира пре 2 година
Власник

Closing given that this was merged: https://notabug.org/diogo/gnu-social/pulls/279 . Again, thank you for this MR. It will be applied to v3 as well.

Closing given that this was merged: https://notabug.org/diogo/gnu-social/pulls/279 . Again, thank you for this MR. It will be applied to v3 as well.
diogo затворено пре 2 година
Пријавите се да се прикључе у овом разговору.
Нема фазе
Нема одговорних
2 учесника
Учитавање...
Откажи
Сачувај
Још нема садржаја.