]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #4085 accepting . in usernames for the wire
authorcash <cash.costello@gmail.com>
Sat, 19 Nov 2011 02:35:15 +0000 (21:35 -0500)
committercash <cash.costello@gmail.com>
Sat, 19 Nov 2011 02:35:15 +0000 (21:35 -0500)
mod/thewire/start.php

index c0890344f1c57eb0bc645c54f3499df47ceb876f..328e5d46cecb98b337ecdae9d0369bf4c0d424f9 100644 (file)
@@ -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);