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
a6f587a4
Commit
a6f587a4
authored
Aug 18, 2001
by
justdave%syndicomm.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 95857: process_bugs.cgi sees blank address in cc: line (would show up as __UNKNOWN__)
Patch by Myk Melez <myk@mozilla.org> r= justdave@syndicomm.com
parent
c409d069
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
process_bug.cgi
process_bug.cgi
+4
-6
No files found.
process_bug.cgi
View file @
a6f587a4
...
@@ -582,17 +582,15 @@ if (defined $::FORM{newcc} || defined $::FORM{removecc} || defined $::FORM{massc
...
@@ -582,17 +582,15 @@ if (defined $::FORM{newcc} || defined $::FORM{removecc} || defined $::FORM{massc
}
}
if
(
$cc_add
)
{
if
(
$cc_add
)
{
foreach
my
$person
(
split
(
/[ ,]/
,
$cc_add
))
{
$cc_add
=~
s/^[\s,]+//
;
# Remove leading delimiters.
# Ignore blanks
foreach
my
$person
(
split
(
/[\s,]+/
,
$cc_add
)
)
{
next
unless
$person
;
my
$pid
=
DBNameToIdAndCheck
(
$person
);
my
$pid
=
DBNameToIdAndCheck
(
$person
);
$cc_add
{
$pid
}
=
$person
;
$cc_add
{
$pid
}
=
$person
;
}
}
}
}
if
(
$cc_remove
)
{
if
(
$cc_remove
)
{
foreach
my
$person
(
split
(
/[ ,]/
,
$cc_remove
))
{
$cc_remove
=~
s/^[\s,]+//
;
# Remove leading delimiters.
# Ignore blanks
foreach
my
$person
(
split
(
/[\s,]+/
,
$cc_remove
)
)
{
next
unless
$person
;
my
$pid
=
DBNameToIdAndCheck
(
$person
);
my
$pid
=
DBNameToIdAndCheck
(
$person
);
$cc_remove
{
$pid
}
=
$person
;
$cc_remove
{
$pid
}
=
$person
;
}
}
...
...
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