diff --git a/core/servers/content/web_handlers/activitypub.js b/core/servers/content/web_handlers/activitypub.js index 79fd28d5..de149707 100644 --- a/core/servers/content/web_handlers/activitypub.js +++ b/core/servers/content/web_handlers/activitypub.js @@ -39,7 +39,7 @@ exports.getModule = class ActivityPubWebHandler extends WebHandlerModule { this.webServer.addRoute({ method: 'GET', - path: /^\/_enig\/ap\/users\/.+$/, + path: /^\/_enig\/ap\/users\/[^\/]+$/, handler: this._selfUrlRequestHandler.bind(this), });