mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-26 16:02:18 +00:00
b0a46c1e2e
Due to JSON-LD compaction the full address of public scope may also occur in shorter forms and the spec requires us to treat them all equivalently. To save us the pain of repeatedly checking for all variants internally, normalise inbound data to just one form. See note at: https://www.w3.org/TR/activitypub/#public-addressing This needs to happen very early, even before the other addressing fixes else an earlier validator will reject the object. This in turn required to move the list-tpye normalisation earlier as well, but since I was unsure about putting empty lists into the data when no such field existed before, I excluded this case and thus the later fixing had to be kept as well. Fixes: https://akkoma.dev/AkkomaGang/akkoma/issues/670 |
||
---|---|---|
.. | ||
activity_pub | ||
admin_api | ||
akkoma_api | ||
api_spec | ||
auth | ||
common_api | ||
feed | ||
mastodon_api | ||
media_proxy | ||
metadata | ||
o_auth | ||
o_status | ||
pleroma_api | ||
plugs | ||
preload/providers | ||
push | ||
rich_media | ||
static_fe | ||
twitter_api | ||
views | ||
web_finger | ||
common_api_test.exs | ||
embed_controller_test.exs | ||
fallback_test.exs | ||
federator_test.exs | ||
gettext_test.exs | ||
manifest_controller_test.exs | ||
masto_fe_controller_test.exs | ||
media_proxy_test.exs | ||
mongoose_im_controller_test.exs | ||
node_info_test.exs | ||
rel_me_test.exs | ||
streamer_test.exs | ||
uploader_controller_test.exs | ||
web_finger_test.exs | ||
xml_test.exs |