You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.
Is a post allowed to have two attachments with the same digest but different names? Imagine an app that would allow for a user to pick an avatar and a profile background, storing both in the same post with a different name for each, nothing prevents the user from picking the same file twice.
This becomes more problematic if apps are allowed to publish posts with attachments with different content_type but same digest: In that case, what Content-Type should the attachment endpoint use when returning an attachment?
The text was updated successfully, but these errors were encountered:
Is a post allowed to have two attachments with the same
digest
but different names? Imagine an app that would allow for a user to pick an avatar and a profile background, storing both in the same post with a different name for each, nothing prevents the user from picking the same file twice.This becomes more problematic if apps are allowed to publish posts with attachments with different
content_type
but samedigest
: In that case, whatContent-Type
should theattachment
endpoint use when returning an attachment?The text was updated successfully, but these errors were encountered: