Package: chiark-utils-bin
Version: 4.5.0~iwj2

--- Begin Message ---
---
 cprogs/cgi-fcgi-interp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cprogs/cgi-fcgi-interp.c b/cprogs/cgi-fcgi-interp.c
index 7a5a5db..d6c08c2 100644
--- a/cprogs/cgi-fcgi-interp.c
+++ b/cprogs/cgi-fcgi-interp.c
@@ -4,7 +4,7 @@
  *   #!/usr/bin/cgi-fcgi-interp [<options>],<interpreter>
  */
 /*
- * cgi-fcgi-interp.[ch] - C helpers common to the whole of chiark-utils
+ * cgi-fcgi-interp.[ch] - script wrapper for cgi-fcgi
  *
  * Copyright 2016 Ian Jackson
  * Copyright 1982,1986,1993 The Regents of the University of California
-- 
2.1.4


--- End Message ---
--- Begin Message ---
If the QUERY_STRING does not contain an = then it is also passed
on the command line.

See https://tools.ietf.org/html/rfc3875#section-4.4
---
 cprogs/cgi-fcgi-interp.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cprogs/cgi-fcgi-interp.c b/cprogs/cgi-fcgi-interp.c
index d6c08c2..3daf025 100644
--- a/cprogs/cgi-fcgi-interp.c
+++ b/cprogs/cgi-fcgi-interp.c
@@ -604,7 +604,6 @@ int main(int argc, const char *const *argv) {

   script = *argv++;
   if (!script) badusage("need script argument");
-  if (*argv) badusage("too many arguments");

   if (!stage2) {

-- 
2.1.4

--- End Message ---
-- 
Ian Jackson <ijack...@chiark.greenend.org.uk>   These opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.

Reply via email to