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 | ||
mrf | ||
object_validator | ||
object_validators | ||
side_effects | ||
views | ||
activity_pub.ex | ||
activity_pub_controller.ex | ||
builder.ex | ||
internal_fetch_actor.ex | ||
mrf.ex | ||
object_validator.ex | ||
pipeline.ex | ||
publisher.ex | ||
relay.ex | ||
side_effects.ex | ||
transmogrifier.ex | ||
utils.ex | ||
visibility.ex |