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
8c96e74e
Commit
8c96e74e
authored
Jul 22, 2004
by
kiko%async.com.br
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 252378: Remove $COOKIE from attachment.cgi. r=bugreport,
a=justdave.
parent
4e17422c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
attachment.cgi
attachment.cgi
+3
-3
No files found.
attachment.cgi
View file @
8c96e74e
...
...
@@ -870,7 +870,7 @@ sub insert
$comment
=
Text::Wrap::
wrap
(
''
,
''
,
$comment
);
AppendComment
(
$::FORM
{
'bugid'
},
$::COOKIE
{
"Bugzilla_login"
}
,
Bugzilla
->
user
->
login
,
$comment
,
$isprivate
);
...
...
@@ -934,7 +934,7 @@ sub insert
}
# Define the variables and functions that will be passed to the UI template.
$vars
->
{
'mailrecipients'
}
=
{
'changer'
=>
$::COOKIE
{
'Bugzilla_login'
}
,
$vars
->
{
'mailrecipients'
}
=
{
'changer'
=>
Bugzilla
->
user
->
login
,
'owner'
=>
$owner
};
my
$bugid
=
$::FORM
{
'bugid'
};
detaint_natural
(
$bugid
);
# don't bother with error condition, we know it'll work
...
...
@@ -1156,7 +1156,7 @@ sub update
}
# Define the variables and functions that will be passed to the UI template.
$vars
->
{
'mailrecipients'
}
=
{
'changer'
=>
$::COOKIE
{
'Bugzilla_login'
}
};
$vars
->
{
'mailrecipients'
}
=
{
'changer'
=>
Bugzilla
->
user
->
login
};
$vars
->
{
'attachid'
}
=
$::FORM
{
'id'
};
$vars
->
{
'bugid'
}
=
$bugid
;
...
...
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