#277 2.0: Cannot follow accounts using LRDDMethod_WebFinger

닫힘
DelilahHoare2 년 전을 오픈 · 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 년 전가 Close
로그인하여 이 대화에 참여
마일스톤 없음
담당자 없음
참여자 2명
로딩중...
취소
저장
아직 콘텐츠가 없습니다.