Skip to content

Loosen restrictions on bto and bcc to allow including them on POST to the inbox of the recipient #495

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

Open
evanp opened this issue Feb 21, 2025 · 4 comments
Labels
Next version Normative change, requires new version of spec

Comments

@evanp
Copy link
Collaborator

evanp commented Feb 21, 2025

Currently, bto and bcc are required to be stripped from all delivery. It would be helpful for receiving servers to have some information about why the actor is receiving this activity; so including the bto or bcc property for that actor only would be helpful.

@evanp
Copy link
Collaborator Author

evanp commented Feb 21, 2025

Separated out from #492 .

@evanp
Copy link
Collaborator Author

evanp commented Feb 21, 2025

This is a normative change, and so would have to wait for a next version. I think it would be possible to consider this a backwards-compatible change, although some current AP recipients might reject incoming activities with bto or bcc as invalid. It would probably be useful to investigate this behaviour if this comes up in discussions of the next version.

@evanp evanp added the Next version Normative change, requires new version of spec label Feb 21, 2025
@nightpool
Copy link
Collaborator

does anyone actually use bto and bcc? are there legitimate use-cases for them?

@ThisIsMissEm
Copy link

ThisIsMissEm commented Feb 23, 2025

So it'd be something like:

Filter bto and bcc property values to actors that share the same inbox before delivery to each inbox

i.e., if I bto some actors like sally@app.social, sam@example.social, and jane@example.social and both sam and jane share an inbox (via sharedInbox) then the Activity that is sent to them would have bto of sam@example.social and jane@example.social but not sally@app.social, if each actor is using separate inboxes (not using sharedInbox) then they'd each receive bto with just their actor?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Next version Normative change, requires new version of spec
Projects
None yet
Development

No branches or pull requests

3 participants