mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 11:01:49 +01:00
higlight the need for id normalization
This commit is contained in:
parent
231bdb65b8
commit
94880d64f4
1 changed files with 3 additions and 0 deletions
|
@ -81,6 +81,9 @@ func RepositoryInbox(ctx *context.APIContext) {
|
|||
log.Info("RepositoryInbox: Activity.Actor %v", activity.Actor)
|
||||
|
||||
// assume actor is: "actor": "https://codeberg.org/api/v1/activitypub/user-id/12345" - NB: This might be actually the ID? Maybe check vocabulary.
|
||||
// "https://Codeberg.org/api/v1/activitypub/user-id/12345"
|
||||
// "https:443//codeberg.org/api/v1/activitypub/user-id/12345"
|
||||
// "https://codeberg.org/api/v1/activitypub/../activitypub/user-id/12345"
|
||||
// parse actor
|
||||
actor, err := activitypub.ParseActorIDFromStarActivity(activity)
|
||||
|
||||
|
|
Loading…
Reference in a new issue