summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-08-04 02:08:39 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-08-04 02:08:39 +0200
commit0422ceb1be9317baacaf7aad5b5e80e76c2fd238 (patch)
tree6e8b787c71ec094248bd8305936b8b272fd11515
parent96b6cc3cf41f3fc657505d3bb6d2be9b65abe636 (diff)
downloadbugzilla-0422ceb1be9317baacaf7aad5b5e80e76c2fd238.tar.gz
bugzilla-0422ceb1be9317baacaf7aad5b5e80e76c2fd238.tar.xz
Bug 584018: @foo= bar in email_in.pl is not parsed correctly, due to a missing whitespace before "="
r/a=mkanat
-rwxr-xr-xemail_in.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/email_in.pl b/email_in.pl
index fd86bcecf..0382c4e8a 100755
--- a/email_in.pl
+++ b/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;
}