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
a28da9f2
Commit
a28da9f2
authored
Jan 07, 2016
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Addl. fix for bug 1089448: also detaint $ENV{WINDIR} on Windows
parent
6e6093a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Bugzilla.pm
Bugzilla.pm
+1
-1
No files found.
Bugzilla.pm
View file @
a28da9f2
...
@@ -87,7 +87,7 @@ sub init_page {
...
@@ -87,7 +87,7 @@ sub init_page {
# On Windows, these paths are tainted, preventing
# On Windows, these paths are tainted, preventing
# File::Spec::Win32->tmpdir from using them. But we need
# File::Spec::Win32->tmpdir from using them. But we need
# a place to temporary store attachments which are uploaded.
# a place to temporary store attachments which are uploaded.
foreach
my
$temp
(
qw(TMPDIR TMP TEMP)
)
{
foreach
my
$temp
(
qw(TMPDIR TMP TEMP
WINDIR
)
)
{
trick_taint
(
$ENV
{
$temp
})
if
$ENV
{
$temp
};
trick_taint
(
$ENV
{
$temp
})
if
$ENV
{
$temp
};
}
}
# Some DLLs used by Strawberry Perl are also in c\bin,
# Some DLLs used by Strawberry Perl are also in c\bin,
...
...
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