diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2005-02-05 02:41:52 +0100 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2005-02-05 02:41:52 +0100 |
commit | 8dfeff759543a27f690371a74e3130ed768d464e (patch) | |
tree | b995c150f929b648f83a967253255684085e3d1b /modules/arch | |
parent | update revision references (diff) | |
download | apache2-8dfeff759543a27f690371a74e3130ed768d464e.tar.xz apache2-8dfeff759543a27f690371a74e3130ed768d464e.zip |
Ignore both PATH_INFO as well as PATH_TRANSLATED to avoid hiccups
from additional path information passed in non-utf-8 format.
Submitted by: Richard Donkin <rd9 donkin.org>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151464 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/arch')
-rw-r--r-- | modules/arch/win32/mod_win32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/arch/win32/mod_win32.c b/modules/arch/win32/mod_win32.c index 14c5efb963..e313ad92cc 100644 --- a/modules/arch/win32/mod_win32.c +++ b/modules/arch/win32/mod_win32.c @@ -533,7 +533,8 @@ static apr_status_t ap_cgi_build_command(const char **cmd, const char ***argv, || 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, "PATH_INFO") == 0)) { + || strcmp(elts[i].key, "PATH_INFO") == 0 + || strcmp(elts[i].key, "PATH_TRANSLATED") == 0)) { prep_string((const char**) &elts[i].val, r->pool); } } |