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
c0296e8d
Commit
c0296e8d
authored
Jul 23, 2002
by
gerv%gerv.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 96003 - buglist.cgi should not return all bugs if called without any…
Bug 96003 - buglist.cgi should not return all bugs if called without any parameters. Patch by gerv; r=myk.
parent
56988d23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
buglist.cgi
buglist.cgi
+14
-0
No files found.
buglist.cgi
View file @
c0296e8d
...
...
@@ -61,6 +61,20 @@ sub sillyness {
$zz
=
@::versions
;
};
if
(
length
(
$::buffer
)
==
0
)
{
$vars
->
{
'title'
}
=
"Parameters Required"
;
$vars
->
{
'message'
}
=
"This script is not meant to be invoked without any
search terms."
;
$vars
->
{
'url'
}
=
"query.cgi"
;
$vars
->
{
'link'
}
=
"Please use the search form to specify some search
criteria."
;
print
"Refresh: 10; URL=query.cgi\n"
;
print
"Content-Type: text/html\n\n"
;
$template
->
process
(
"global/message.html.tmpl"
,
$vars
)
||
ThrowTemplateError
(
$template
->
error
());
exit
;
}
ConnectToDatabase
();
################################################################################
...
...
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