]> git.donarmstrong.com Git - debbugs.git/blobdiff - cgi/pkgreport.cgi
remove UTF8 warnings
[debbugs.git] / cgi / pkgreport.cgi
index 6b92f90c54b4b3c4b9e3300db9d1079a2b934237..455df20cea2896c7f2645c601d59a14584ce50a4 100755 (executable)
@@ -275,7 +275,8 @@ if (defined $param{usertag}) {
      }
 }
 
-quitcgi("You have to choose something to select by") unless grep {exists $param{$_}} keys %package_search_keys;
+quitcgi("You have to choose something to select by", '400 Bad Request')
+  unless grep {exists $param{$_}} keys %package_search_keys;
 
 
 my $Archived = $param{archive} ? " Archived" : "";
@@ -436,7 +437,7 @@ my $result = pkg_htmlizebugs(bugs => \@bugs,
                             (exists $param{dist})?(dist    => $param{dist}):(),
                            );
 
-print "Cache-control: public, max-age=300\n";
+print "Cache-Control: public, max-age=300\n";
 print "Content-Type: text/html; charset=utf-8\n\n";
 
 print "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";