Commit 5955222d authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  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 <rd9 donkin.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124556 13f79535-47bb-0310-9956-ffa450edef68
parent 145c4843
Loading
Loading
Loading
Loading
+2 −1
Changes for modules/arch/win32/mod_win32.c: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -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);
        }
    }