-
-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Avoid reliance on a dead JSON-LD namespace link #240
Comments
Thanks for the investigation :) I'll bring this up with the go-fed library dev and see what he thinks |
Transmitting something with |
I submitted this and I can ping CJ about it: go-fed/activity#152 |
causes #169 |
See friendica/friendica#10740
If mastodon/joinmastodon#148 doesn't get addressed, there is another way to prevent a remote lookup to a dead namespace link which can break federation.
Instead of just
Safe interoperability solution
you can bring the whole namespace definition in the context array like this:
Solution requiring JSON-LD compacting on the receiving end
If this is too verbose for you in every single outgoing message, you can instead declare your namespace like this:
And update every key listed in the above namespace to the corresponding value.
"discoverable": false
would become"toot:discoverable": false
for example. I do not have more information on the more complex declarations but I assume it works the same, just by replacing the key by the@id
value.Thanks to @annando for the technical details.
The text was updated successfully, but these errors were encountered: