[bug] Open Graph Protocol entries for image refer to wrong image on certain posts #304
Labels
No labels
a11y
Bug
Bug fix
Critical Priority
Documentation
Feature
Feature request
Held for next release cycle
High Priority
Low Priority
Medium Priority
Minor change
Translation/Locale
WIP
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma-fe#304
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Version
3595e391+snowdin
What were you trying to do?
I posted a this link to discord:
I ran this command:
What did you expect to happen?
1: An embed should have been generated that shows the image which was attached to the post
2: The meta tags should include the image attached to the post
What actually happened?
1: The embed only contained the profile picture
2: The meta tags only referred to the profile picture
Because there is no field for general comments:
This only happens with some posts, for example this post embeds as expected.
Also I have only tested this on a fork, tho this behaviour should also be present in this repo
Severity
I can manage
Have you searched for this issue?
the difference is your "bugged" one is NSFW-tagged
it would be expected behaviour to not expose sensitive images via metadata
I dont think this would be expected. If you are sharing something like this by link you are already intending it to be viewed.
If this was a post containing pornography and you are sharing it to discord, the discord channel its shared in would already be tagged NSFW. If you are sending it to a friend on telegram they would already have consented to viewing it.
If you are sharing the post somewhere else, you are the one putting a content warning on it. In this case the poster tagged it for eye-contact, but if you are sharing the post in a group where you generally dont CW eye-contact, you wouldnt want the embed to be hidden because of that CW.
Sharing a link fundamentally recontextualises a post and the choice to embed the image should be left at the sharer, not the software
"recontextualised" or not, this is the expected behaviour
doc link: https://docs.akkoma.dev/stable/configuration/cheatsheet/#pleromawebmetadata-provider
this is not a bug
it is standard among fediverse software (masto behavies the same way)