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
e0deda75
Commit
e0deda75
authored
Nov 02, 2009
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 518404: Make email_in.pl run in taint mode
Patch by Vitaliy Filippov <vitalif@yourcmc.ru> r=mkanat, a=mkanat
parent
81ee29e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
email_in.pl
email_in.pl
+7
-3
No files found.
email_in.pl
100644 → 100755
View file @
e0deda75
#!/usr/bin/perl -w
#!/usr/bin/perl -w
T
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
...
...
@@ -26,7 +26,11 @@ use warnings;
# run from this one so that it can find its modules.
use
Cwd
qw(abs_path)
;
use
File::
Basename
qw(dirname)
;
BEGIN
{
chdir
dirname
(
abs_path
(
$0
));
}
BEGIN
{
# Untaint the abs_path.
my
(
$a
)
=
abs_path
(
$0
)
=~
/^(.*)$/
;
chdir
dirname
(
$a
);
}
use
lib
qw(. lib)
;
...
...
@@ -503,7 +507,7 @@ normal Bugzilla interface. So, for example, you cannot reassign
a bug and change its status at the same time.
The email interface only accepts emails that are correctly formatted
per
l
RFC2822. If you send it an incorrectly formatted message, it
per RFC2822. If you send it an incorrectly formatted message, it
may behave in an unpredictable fashion.
You cannot send an HTML mail along with attachments. If you do, Bugzilla
...
...
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