akkoma/test/pleroma/web/activity_pub/transmogrifier
Oneric 0f9c9aac38 Completely omit id for anonymous objects
Current AP spec demands anonymous objects to have an id value,
but explicitly set it to JSON null. Howeveras it turns out this is
incompatible with JSON-LD requiring `@id` to be a string and thus AP
spec is incompatible iwth the Ativity Streams spec it is based on.
This is an issue for (the few) AP implementers actually performing
JSON-LD processing, like IceShrimp.NET.
This was uncovered by IceShrimp.NET’s zotan due to our adoption of
anonymous objects for emoj in f101886709.

The issues is being discussed by W3C, and will most likely be resolved
via an errata redefining anonymous objects to completely omit the id
field just like transient objects already do. See:
https://github.com/w3c/activitypub/issues/476

Fixes: AkkomaGang/akkoma#848
2024-11-09 19:29:29 +01:00
..
accept_handling_test.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
add_remove_handling_test.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
announce_handling_test.exs Hide logs during test unless a test fails 2024-06-27 18:29:45 +02:00
answer_handling_test.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
article_handling_test.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
audio_handling_test.exs update mastofe paths (#95) 2022-07-20 20:13:50 +00:00
block_handling_test.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
delete_handling_test.exs Hide logs during test unless a test fails 2024-06-27 18:29:45 +02:00
emoji_react_handling_test.exs Accept EmojiReacts with non-array tag 2024-04-09 04:04:16 +02:00
event_handling_test.exs ObjectValidator.CommonFixes: Introduce fix_objects_defaults and fix_activity_defaults 2021-04-05 19:19:11 +02:00
follow_handling_test.exs Tag Mock-tests as "mocked" and run them seperately 2023-08-04 12:50:50 +01:00
like_handling_test.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
note_handling_test.exs Completely omit id for anonymous objects 2024-11-09 19:29:29 +01:00
page_handling_test.exs Pipeline Ingestion: Page 2021-06-04 20:06:33 +02:00
question_handling_test.exs make conversation-id deterministic (#154) 2022-08-06 20:59:15 +00:00
reject_handling_test.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
undo_handling_test.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
user_update_handling_test.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
video_handling_test.exs VideoHandlingTest: remove nil values 2021-12-12 17:35:35 +00:00