Updated 05012022-045649
Created 09212021-193539
Causes https://github.com/friendica/friendica/issues/10740
The URL http://joinmastodon.org/ns
is used as a JSON @context
URL with an expected JSON output . This output is used for JSON-LD compacting and expanding.
However today it outputs the HTML homepage of the website, even with the HTTP header Accept: application/ld+json
. This makes any JSON-LD compacting or expanding operation on a JSON-LD document including http://joinmastodon.org/ns
in their @context
list fail with no possible recovery.
Please restore the former JSON content of the https://joinmastodon.org/ns
URL which is used by several ActivityPub projects including https://github.com/superseriousbusiness/gotosocial and Friendica.
Just encountered this "fun" issue. Was the JSON-LD namespace ever there, or is this a regression of some kind? But yeah, with how much stuff there is being referenced in docs, would be nice to have it as a full namespace definition rather than loose docs...
※‑SaphireLattice
It's a "fake" namespace, that's why we inline it in the JSON-LD. There was never anything on that address. ※‑Gargron
Could "fix" this and drop need to inline definitions if there's an actual namespace definition over there? Should also fix a lot of headaches to anyone trying to interact with Mastodon beyond the main software (...like clients or bots, etc) ※‑SaphireLattice