From d9848f73bdfbf3bca6fbfe9939e307775279da91 Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 18 Nov 2011 21:35:15 -0500 Subject: Fixes #4085 accepting . in usernames for the wire --- mod/thewire/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/thewire') 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@$2', $text); -- cgit v1.2.3