From: cash Date: Sat, 19 Nov 2011 02:35:15 +0000 (-0500) Subject: Fixes #4085 accepting . in usernames for the wire X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b12039be030a54fa05dc3758254542075b130f34;p=lorea%2Felgg.git Fixes #4085 accepting . in usernames for the wire --- 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);