aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-18 21:35:15 -0500
committercash <cash.costello@gmail.com>2011-11-18 21:35:15 -0500
commitd9848f73bdfbf3bca6fbfe9939e307775279da91 (patch)
tree8d611f6c761c4f055e159e2f1a89123884e98901
parent0aacda8b1fa77999f4e00d73e9fd1c416d75f920 (diff)
downloadelgg-d9848f73bdfbf3bca6fbfe9939e307775279da91.tar.gz
elgg-d9848f73bdfbf3bca6fbfe9939e307775279da91.tar.bz2
Fixes #4085 accepting . in usernames for the wire
-rw-r--r--mod/thewire/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/thewire/start.php b/mod/thewire/start.php
index c0890344f..328e5d46c 100644
--- a/mod/thewire/start.php
+++ b/mod/thewire/start.php
@@ -217,7 +217,7 @@ function thewire_filter($text) {
// usernames
$text = preg_replace(
- '/(^|[^\w])@([\w]+)/',
+ '/(^|[^\w])@([\w.]+)/',
'$1<a href="' . $CONFIG->wwwroot . 'thewire/owner/$2">@$2</a>',
$text);