From 1e5c90fcb5636e3571c9e42bf02891d1d41f4323 Mon Sep 17 00:00:00 2001 From: Tony Finch Date: Fri, 7 Oct 2016 13:57:57 +0100 Subject: [PATCH] cgi-fcgi-interp: support CGI command line arguments 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 93f691e..7aef026 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.30.2