Quote arguments to query-pr so that multi-word arguments
can be used in the query.
This commit is contained in:
parent
518500bfdb
commit
d5095625d8
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=2124
2 changed files with 26 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/perl
|
||||
# $Id: query-pr-summary.cgi,v 1.12 1997-02-03 18:20:27 peter Exp $
|
||||
# $Id: query-pr-summary.cgi,v 1.13 1997-10-27 05:10:43 fenner Exp $
|
||||
|
||||
$html_mode = 1 if $ENV{'DOCUMENT_ROOT'};
|
||||
$self_ref = $ENV{'SCRIPT_NAME'};
|
||||
|
@ -19,6 +19,18 @@ $mail_unass = "freebsd-bugs";
|
|||
"closed", "c"
|
||||
);
|
||||
|
||||
%severitymap = (
|
||||
"critical", "c",
|
||||
"serious", "s",
|
||||
"non-critical", "n"
|
||||
);
|
||||
|
||||
%prioritymap = (
|
||||
"high", "h",
|
||||
"medium", "m",
|
||||
"low", "l"
|
||||
);
|
||||
|
||||
require "cgi-lib.pl";
|
||||
require "cgi-style.pl";
|
||||
require "getopts.pl";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/perl
|
||||
# $Id: query-pr-summary.cgi,v 1.12 1997-02-03 18:20:27 peter Exp $
|
||||
# $Id: query-pr-summary.cgi,v 1.13 1997-10-27 05:10:43 fenner Exp $
|
||||
|
||||
$html_mode = 1 if $ENV{'DOCUMENT_ROOT'};
|
||||
$self_ref = $ENV{'SCRIPT_NAME'};
|
||||
|
@ -19,6 +19,18 @@ $mail_unass = "freebsd-bugs";
|
|||
"closed", "c"
|
||||
);
|
||||
|
||||
%severitymap = (
|
||||
"critical", "c",
|
||||
"serious", "s",
|
||||
"non-critical", "n"
|
||||
);
|
||||
|
||||
%prioritymap = (
|
||||
"high", "h",
|
||||
"medium", "m",
|
||||
"low", "l"
|
||||
);
|
||||
|
||||
require "cgi-lib.pl";
|
||||
require "cgi-style.pl";
|
||||
require "getopts.pl";
|
||||
|
|
Loading…
Reference in a new issue