Open
Bug 1270097
Opened 9 years ago
Updated 2 years ago
email_in.pl should accept that a "bug" is called "two words" in variables.none.tmpl
Categories
(Bugzilla :: Incoming Email, enhancement)
Tracking
()
UNCONFIRMED
People
(Reporter: cmigliorini, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
425 bytes,
patch
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160407164938
Steps to reproduce:
I customized variables.none.tmpl so that a "bug" is called "Change Request".
Actual results:
email_in.pl is broken: line
if ($summary =~ /\[\S+ (\d+)\](.*)/i)
does not catch [Change Request XX] in email subject lines, so it acts as though a bug was being created
Expected results:
email_in.pl should perhaps have used variables.none.tmpl to interpret the subject line.
![]() |
||
Updated•9 years ago
|
Assignee: general → incoming.email
Severity: normal → enhancement
Component: Bugzilla-General → Incoming Email
Reporter | ||
Comment 1•9 years ago
|
||
Quick and dirty patch. Doesn't quite change the functionality -- nor the actual issue of BugZilla accepting garbage input -- in my humble opinion, and solves the problem.
I only wish my Perl/templates skills were higher.
Reporter | ||
Comment 2•9 years ago
|
||
Please note that as it is now, bugzilla will process any email having [any_number_of_non_white_characters any_number_of_digits] in the subject line.
Updated•2 years ago
|
Attachment #9386269 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•