diff --git a/src/activitypub/helpers.js b/src/activitypub/helpers.js index 9a311c7dd4..aa00528717 100644 --- a/src/activitypub/helpers.js +++ b/src/activitypub/helpers.js @@ -19,7 +19,7 @@ const user = require('../user'); const utils = require('../utils'); const activitypub = require('.'); -const webfingerRegex = /^(@|acct:)?[\w-]+@.+$/; +const webfingerRegex = /^(@|acct:)?[\w-.]+@.+$/; const webfingerCache = ttl({ max: 5000, ttl: 1000 * 60 * 60 * 24, // 24 hours