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
Whilst working with this plugin I was encountering an issue where I wanted to do a look up on an Activity sent to me by wordpress-activitypub, but the structure of URL makes this impossible due to a fragment being included in the ID (URL) for the Activity - The fragment gets stripped out before reaching the server so the request ends up being for the Object inside the Activity rather than the Activity itself
Example:
I receive Activity with ID: https://mattwiebe.blog/?p=370#activity-create-2024-11-27T15:30:10Z which looks like:
When I make a request to https://mattwiebe.blog/?p=370#activity-create-2024-11-27T15:30:10Z to retrieve the Create activity again, I get back the Note contained within the Activity:
Hey @mike182uk The plugin does not provide resolvable Activity-IDs (yet, this will come in one of the next updates). The fragment is currently only a hack, to have a unique ID.
However, we can change these IDs so that a correct error code is returned.
Whilst working with this plugin I was encountering an issue where I wanted to do a look up on an
Activity
sent to me bywordpress-activitypub
, but the structure of URL makes this impossible due to a fragment being included in the ID (URL) for theActivity
- The fragment gets stripped out before reaching the server so the request ends up being for theObject
inside theActivity
rather than theActivity
itselfExample:
I receive Activity with ID:
https://mattwiebe.blog/?p=370#activity-create-2024-11-27T15:30:10Z
which looks like:When I make a request to
https://mattwiebe.blog/?p=370#activity-create-2024-11-27T15:30:10Z
to retrieve theCreate
activity again, I get back theNote
contained within theActivity
:The text was updated successfully, but these errors were encountered: