api/masto/instance: use WebFinger domain for URI #927

Merged
Oneric merged 1 commit from Oneric/akkoma:mastoapi_instance-uri into develop 2025-05-15 19:45:09 +00:00
Owner

Despite its name this property is not supposed to be a full URI,
but just a bare domain witout protocol. Furthermore, it’s supposed
to be the WebFinger domain used in userhandles and NOT the domain used
for API and ActivityPub objects (which every caller will already know
anyway).

Not following this caused issues for Pachli and Tusky.

Reported-by: nikclayton

Despite its name this property is not supposed to be a full URI, but just a bare domain witout protocol. Furthermore, it’s supposed to be the WebFinger domain used in userhandles and NOT the domain used for API and ActivityPub objects (which every caller will already know anyway). Not following this caused issues for Pachli and Tusky. Reported-by: nikclayton
Oneric added 1 commit 2025-05-15 19:10:58 +00:00
api/masto/instance: use WebFinger domain for URI
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test/2 Pipeline was successful
ci/woodpecker/pr/test/1 Pipeline was successful
ci/woodpecker/pr/build-arm64 Pipeline was successful
ci/woodpecker/pr/build-amd64 Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pull_request_closed/lint Pipeline was successful
ci/woodpecker/pull_request_closed/test/1 Pipeline was successful
ci/woodpecker/pull_request_closed/test/2 Pipeline was successful
ci/woodpecker/pull_request_closed/build-arm64 Pipeline was successful
ci/woodpecker/pull_request_closed/build-amd64 Pipeline was successful
ci/woodpecker/pull_request_closed/docs Pipeline was successful
40fef8e632
Despite its name this property is not supposed to be a full URI,
but just a bare domain witout protocol. Furthermore, it’s supposed
to be the WebFinger domain used in userhandles and NOT the domain used
for API and ActivityPub objects (which every caller will already know
anyway).

Not following this caused issues for Pachli and Tusky.

Reported-by: nikclayton
Oneric merged commit 771d3c3103 into develop 2025-05-15 19:45:09 +00:00
Oneric deleted branch mastoapi_instance-uri 2025-05-15 19:45:09 +00:00
Sign in to join this conversation.
No description provided.