Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
8c19360f
Commit
8c19360f
authored
Apr 17, 2009
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 487904 Allow email_in.pl to accept replies with localized or modified "Bug" in the header.
Patch By Mikhail Gusarov <dottedmag@altlinux.org> r=mkanat, a=mkanat
parent
14b373c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
email_in.pl
email_in.pl
+1
-1
No files found.
email_in.pl
View file @
8c19360f
...
...
@@ -75,7 +75,7 @@ sub parse_mail {
my
(
$reporter
)
=
Email::
Address
->
parse
(
$input_email
->
header
(
'From'
));
$fields
{
'reporter'
}
=
$reporter
->
address
;
my
$summary
=
$input_email
->
header
(
'Subject'
);
if
(
$summary
=~
/\[
Bug
(\d+)\](.*)/i
)
{
if
(
$summary
=~
/\[
\S+
(\d+)\](.*)/i
)
{
$fields
{
'bug_id'
}
=
$1
;
$summary
=
trim
(
$2
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment