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
5013f383
Commit
5013f383
authored
Jul 22, 2004
by
kiko%async.com.br
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 252379: Remove $COOKIE from query.cgi. r=joel, a=justdave.
parent
8c96e74e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
query.cgi
query.cgi
+5
-5
No files found.
query.cgi
View file @
5013f383
...
...
@@ -70,14 +70,14 @@ my $userid = $user ? $user->id : 0;
# and nuke the cookie. This is required for Bugzilla 2.8 and earlier.
if
(
$user
)
{
my
@oldquerycookies
;
foreach
my
$i
(
keys
%::
COOKIE
)
{
foreach
my
$i
(
$cgi
->
cookie
()
)
{
if
(
$i
=~
/^QUERY_(.*)$/
)
{
push
(
@oldquerycookies
,
[
$1
,
$i
,
$
::COOKIE
{
$i
}
]);
push
(
@oldquerycookies
,
[
$1
,
$i
,
$
cgi
->
cookie
(
$i
)
]);
}
}
if
(
defined
$
::COOKIE
{
'DEFAULTQUERY'
}
)
{
if
(
defined
$
cgi
->
cookie
(
'DEFAULTQUERY'
)
)
{
push
(
@oldquerycookies
,
[
$::defaultqueryname
,
'DEFAULTQUERY'
,
$
::COOKIE
{
'DEFAULTQUERY'
}
]);
$
cgi
->
cookie
(
'DEFAULTQUERY'
)
]);
}
if
(
@oldquerycookies
)
{
foreach
my
$ref
(
@oldquerycookies
)
{
...
...
@@ -379,7 +379,7 @@ if ($user) {
my
$deforder
;
my
@orders
=
(
'Bug Number'
,
'Importance'
,
'Assignee'
,
'Last Changed'
);
if
(
$
::COOKIE
{
'LASTORDER'
}
)
{
if
(
$
cgi
->
cookie
(
'LASTORDER'
)
)
{
$deforder
=
"Reuse same sort as last time"
;
unshift
(
@orders
,
$deforder
);
}
...
...
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