accept activities have invalid IDs #313
Labels
No labels
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Plume/Plume#313
Loading…
Add table
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?
fcf911fac9/plume-models/src/follows.rs (L72)if I send a follow with ID
https://example.com/mypersonalpage/follow/plume_blog, the response Accept will be athttps://example.com/mypersonalpage/follow/plume_blog#accept, which is bad as it implies thatexample.comowns the object, which is not the case. As such, kroeg wisely ignores the incoming object, meaning thatAccepts of follows never arrive. My suggestion is to either generate a random path on the blog's path (e.g.https://contoso.com/12345678-1234-1234-12345678) and use that, or use something likehttps://contoso.com/~/Username#accepts/{internal follow ID}instead, both hosted on the domain of the blog itself.Additionally, by AP spec (section 3.1), server-to-server Activity IDs MUST be dereferencables, so the Accept activity should also be available on the generated ID
(although I don't think the ID for Accept activities are actually dereferenced, so maybe the activity representation on backend can be skipped for now)