===================================================================
RCS file: /cvs/cvsweb/cvsweb.cgi,v
retrieving revision 1.7
retrieving revision 1.9
diff -u -p -r1.7 -r1.9
--- cvsweb/cvsweb.cgi 1997/04/30 18:25:05 1.7
+++ cvsweb/cvsweb.cgi 1997/07/19 00:54:40 1.9
@@ -70,8 +70,8 @@ if (!-d $cvsroot) {
&fatal("500 Internal Error",'$CVSROOT not found!');
}
-if ($q = $ENV{'QUERY_STRING'}) {
- foreach (split(/&/, $q)) {
+if ($query = $ENV{'QUERY_STRING'}) {
+ foreach (split(/&/, $query)) {
s/%(..)/sprintf("%c", hex($1))/ge; # unquote %-quoted
if (/(\S+)=(.*)/) {
$input{$1} = $2;
@@ -79,6 +79,7 @@ if ($q = $ENV{'QUERY_STRING'}) {
$input{$_}++;
}
}
+ $query = "?" . $query;
}
if (-d $fullname) {
opendir(DIR, $fullname) || &fatal("404 Not Found","$where: $!");
@@ -97,27 +98,68 @@ if (-d $fullname) {
# provides the results that I want in most browsers. Another
# case of layout spooging up HTML.
print "
\n";
+ if ($input{"only_on_branch"}) {
+ print "
\n";
+ }
+ $formwhere = $scriptwhere;
+ $formwhere =~ s|Attic/?$|| if ($input{"showattic"});
+ print "
\n";
print &html_footer;
print "