-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
tags.pub sends summary as a JSON object (language map) instead of a plain string:
{
"summary": {
"en": "blog shared \"Bloggen ist tot\""
}
}According to the Activity Streams 2.0 spec and the Language Mapping primer, language-tagged values should use the summaryMap property, while summary should remain a plain string:
{
"summary": "blog shared \"Bloggen ist tot\"",
"summaryMap": {
"en": "blog shared \"Bloggen ist tot\""
}
}This causes issues in implementations that expect summary to be a string (e.g. WordPress ActivityPub plugin crashes with a TypeError when trying to process the value).
The same likely applies to content/contentMap and name/nameMap if those are also sent as language maps.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels