From d901a2ef9287fac11c48122eb67794d724df54bf Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" Date: Wed, 4 Aug 2010 00:19:38 +0000 Subject: [PATCH] Bug 584018: @foo= bar in email_in.pl is not parsed correctly, due to a missing whitespace before "=" r/a=mkanat git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@260960 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/email_in.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index a70880c590a..632f32e0d90 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -7364 \ No newline at end of file +7365 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/email_in.pl b/mozilla/webtools/bugzilla/email_in.pl index fd86bcecf15..0382c4e8aaf 100755 --- a/mozilla/webtools/bugzilla/email_in.pl +++ b/mozilla/webtools/bugzilla/email_in.pl @@ -106,7 +106,7 @@ sub parse_mail { # Otherwise, we stop parsing fields on the first blank line. $line = trim($line); last if !$line; - if ($line =~ /^\@(\S+)\s*(?:=|\s|$)\s*(.*)\s*/) { + if ($line =~ /^\@(\w+)\s*(?:=|\s|$)\s*(.*)\s*/) { $current_field = lc($1); $fields{$current_field} = $2; }