Skip to content

Commit

Permalink
Allow a dot in the ActivityPub username (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
akirk authored May 13, 2024
1 parent 68ff429 commit b069d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feed-parsers/class-feed-parser-activitypub.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Feed_Parser_ActivityPub extends Feed_Parser_V2 {
const SLUG = 'activitypub';
const NAME = 'ActivityPub';
const URL = 'https://www.w3.org/TR/activitypub/';
const ACTIVITYPUB_USERNAME_REGEXP = '(?:([A-Za-z0-9_-]+)@((?:[A-Za-z0-9_-]+\.)+[A-Za-z]+))';
const ACTIVITYPUB_USERNAME_REGEXP = '(?:([A-Za-z0-9_.-]+)@((?:[A-Za-z0-9_-]+\.)+[A-Za-z]+))';
const EXTERNAL_USERNAME = 'external';

private $activitypub_already_handled = array();
Expand Down

0 comments on commit b069d13

Please sign in to comment.