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
cf64b9f3
Commit
cf64b9f3
authored
Jul 08, 2005
by
mkanat%kerio.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 300006: "cookies need value" error code when a query returns an empty result.
Patch By Marc Schumann <wurblzap@gmail.com> r=glob, a=justdave
parent
d3bc9722
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
buglist.cgi
buglist.cgi
+4
-1
colchange.cgi
colchange.cgi
+8
-3
No files found.
buglist.cgi
View file @
cf64b9f3
...
...
@@ -1013,7 +1013,10 @@ if ($format->{'extension'} eq "html") {
}
my
$bugids
=
join
(
":"
,
@bugidlist
);
# See also Bug 111999
if
(
length
(
$bugids
)
<
4000
)
{
if
(
length
(
$bugids
)
==
0
)
{
$cgi
->
remove_cookie
(
'BUGLIST'
);
}
elsif
(
length
(
$bugids
)
<
4000
)
{
$cgi
->
send_cookie
(
-
name
=>
'BUGLIST'
,
-
value
=>
$bugids
,
-
expires
=>
'Fri, 01-Jan-2038 00:00:00 GMT'
);
...
...
colchange.cgi
View file @
cf64b9f3
...
...
@@ -103,9 +103,14 @@ if (defined $cgi->param('rememberedquery')) {
my
$list
=
join
(
" "
,
@collist
);
my
$urlbase
=
Param
(
"urlbase"
);
$cgi
->
send_cookie
(
-
name
=>
'COLUMNLIST'
,
-
value
=>
$list
,
-
expires
=>
'Fri, 01-Jan-2038 00:00:00 GMT'
);
if
(
$list
)
{
$cgi
->
send_cookie
(
-
name
=>
'COLUMNLIST'
,
-
value
=>
$list
,
-
expires
=>
'Fri, 01-Jan-2038 00:00:00 GMT'
);
}
else
{
$cgi
->
remove_cookie
(
'COLUMNLIST'
);
}
if
(
$splitheader
)
{
$cgi
->
send_cookie
(
-
name
=>
'SPLITHEADER'
,
-
value
=>
$splitheader
,
...
...
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