You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@hyperreal.org on 1998/01/10 06:43:34 UTC
cvs commit: apachen/src/main util_script.c
marc 98/01/09 21:43:33
Modified: src/main util_script.c
Log:
Fix scripts without a '=' in the query string
(eg. http://host/cgi-bin/mycgi?foobar) to work.
PR: 1591
Reviewed by: Ben Laurie, Jim Jagielski
Revision Changes Path
1.89 +6 -1 apachen/src/main/util_script.c
Index: util_script.c
===================================================================
RCS file: /export/home/cvs/apachen/src/main/util_script.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -r1.88 -r1.89
--- util_script.c 1998/01/07 16:46:24 1.88
+++ util_script.c 1998/01/10 05:43:33 1.89
@@ -80,6 +80,11 @@
* group are the first three arguments to be passed; if not, all three
* must be NULL. The query info is split into separate arguments, where
* "+" is the separator between keyword arguments.
+ *
+ * XXXX: note that the WIN32 code uses one of the suexec strings
+ * to pass an interpreter name. Remember this if changing the way they
+ * are handled in create_argv.
+ *
*/
static char **create_argv(pool *p, char *path, char *user, char *group,
char *av0, const char *args)
@@ -756,7 +761,7 @@
}
else if (is_script) {
pid = spawnve(_P_NOWAIT, interpreter + 2,
- create_argv(r->pool, NULL, NULL, NULL,
+ create_argv(r->pool, interpreter + 2, NULL, NULL,
r->filename, r->args), env);
}
else {