Allow mentioning bare domains with OStatus

This commit is contained in:
Stephen Paul Weber 2015-10-28 01:24:42 +00:00
parent 2edf535ecd
commit 0aa759fab7
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ class OStatusPlugin extends Plugin
}
// Profile matches: @example.com/mublog/user
if (preg_match_all('!(?:^|\s+)@((?:\w+\.)*\w+(?:\w+\-\w+)*\.\w+(?:/\w+)+)!',
if (preg_match_all('!(?:^|\s+)@((?:\w+\.)*\w+(?:\w+\-\w+)*\.\w+(?:/\w+)*)!',
$text,
$wmatches,
PREG_OFFSET_CAPTURE)) {