From e7f837cb8f0fa2e57316e880d68a4b4e7a8b2d94 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 27 May 2016 14:30:24 -0400 Subject: Bug 1220807 - The new UI doesn't show anything for the review requester in the attachments table if their name contains :\s --- extensions/BugModal/lib/MonkeyPatches.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/BugModal/lib/MonkeyPatches.pm b/extensions/BugModal/lib/MonkeyPatches.pm index f0774b0e5..61f945a87 100644 --- a/extensions/BugModal/lib/MonkeyPatches.pm +++ b/extensions/BugModal/lib/MonkeyPatches.pm @@ -43,7 +43,7 @@ use warnings; sub moz_nick { my ($self) = @_; if (!exists $self->{moz_nick}) { - if ($self->name =~ /:?:(.+?)\b/) { + if ($self->name =~ /:?:(\S+?)\b/) { $self->{moz_nick} = $1; } elsif ($self->name) { -- cgit v1.2.3-24-g4f1b