aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorterry%netscape.com <>1998-11-21 03:18:33 +0000
committerterry%netscape.com <>1998-11-21 03:18:33 +0000
commit89eccc9b74482b8c636a02d3a6bcf3ec2947eb7b (patch)
tree235232c5fcc2e5d1fb13ad91e8b44da262c2a3f3 /show_bug.cgi
parentWasn't handling spaces in components or versions correctly. (diff)
downloadbugzilla-89eccc9b74482b8c636a02d3a6bcf3ec2947eb7b.tar.gz
bugzilla-89eccc9b74482b8c636a02d3a6bcf3ec2947eb7b.tar.bz2
bugzilla-89eccc9b74482b8c636a02d3a6bcf3ec2947eb7b.zip
Backed out Andrew's patch -- turns out it was doing quoting sublty wrong.
Diffstat (limited to 'show_bug.cgi')
-rwxr-xr-xshow_bug.cgi15
1 files changed, 6 insertions, 9 deletions
diff --git a/show_bug.cgi b/show_bug.cgi
index 06e02da2b..98829e356 100755
--- a/show_bug.cgi
+++ b/show_bug.cgi
@@ -22,19 +22,16 @@
use diagnostics;
use strict;
-use vars @::FORM;
+print "Content-type: text/html\n";
+print "\n";
require "CGI.pl";
-confirm_login();
-
-print "Content-type: text/html\n\n";
-
-if (!defined $::FORM{'id'} || $::FORM{'id'} eq "") {
- PutHeader("Search By Bug Number", "Search By Bug Number", "");
- print "<FORM METHOD=\"GET\" ACTION=\"show_bug.cgi\">\n";
+if (!defined $::FORM{'id'}) {
+ print "<H2>Search By Bug Number</H2>\n";
+ print "<FORM METHOD=GET ACTION=\"show_bug.cgi\">\n";
print "You may find a single bug by entering its bug id here: \n";
- print "<INPUT NAME=\"id\">\n";
+ print "<INPUT NAME=id>\n";
print "<INPUT TYPE=\"submit\" VALUE=\"Show Me This Bug\">\n";
print "</FORM>\n";
exit;