summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2016-05-27 20:30:24 +0200
committerDylan William Hardison <dylan@hardison.net>2016-05-27 20:30:24 +0200
commite7f837cb8f0fa2e57316e880d68a4b4e7a8b2d94 (patch)
tree468e99bc83a5024fa3b6b8a36903a044e53bc467 /extensions/BugModal
parent7b4ca46f30dbc9a5756e3b801a529bfc015c3b4b (diff)
downloadbugzilla-e7f837cb8f0fa2e57316e880d68a4b4e7a8b2d94.tar.gz
bugzilla-e7f837cb8f0fa2e57316e880d68a4b4e7a8b2d94.tar.xz
Bug 1220807 - The new UI doesn't show anything for the review requester in the attachments table if their name contains :\s
Diffstat (limited to 'extensions/BugModal')
-rw-r--r--extensions/BugModal/lib/MonkeyPatches.pm2
1 files changed, 1 insertions, 1 deletions
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) {