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-28 21:44:00 -0500
commitb12039be030a54fa05dc3758254542075b130f34 (patch)
tree7771802e1a7da1b004fc438a0b2a3b76c4e57287
parente6cfc4662ed967469c88bd312375033c0f941bce (diff)
downloadelgg-b12039be030a54fa05dc3758254542075b130f34.tar.gz
elgg-b12039be030a54fa05dc3758254542075b130f34.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);