From: William A. Rowe Jr Date: Fri, 7 Jan 2005 18:29:13 +0000 (+0000) Subject: Handle PATH_INFO as opaque byte-wise data for cgi invocation as X-Git-Tag: 2.1.3~170 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=459b02f136a66ce6f571a5a3a8255c51098a841e;p=thirdparty%2Fapache%2Fhttpd.git Handle PATH_INFO as opaque byte-wise data for cgi invocation as handled for other variables with bug 9223. PR: 32730 Submitted by: Richard Donkin git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124556 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/arch/win32/mod_win32.c b/modules/arch/win32/mod_win32.c index 3ced4519d4d..ab1c90cb1a7 100644 --- a/modules/arch/win32/mod_win32.c +++ b/modules/arch/win32/mod_win32.c @@ -531,7 +531,8 @@ static apr_status_t ap_cgi_build_command(const char **cmd, const char ***argv, && (strncmp(elts[i].key, "HTTP_", 5) == 0 || strncmp(elts[i].key, "SERVER_", 7) == 0 || strncmp(elts[i].key, "REQUEST_", 8) == 0 - || strcmp(elts[i].key, "QUERY_STRING") == 0)) { + || strcmp(elts[i].key, "QUERY_STRING") == 0 + || strcmp(elts[i].key, "PATH_INFO") == 0)) { prep_string((const char**) &elts[i].val, r->pool); } }