From 0f3980fa217b4a8afa18b7f3c8ba64c1a98afb81 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Sun, 13 Feb 2005 22:05:43 +0000 Subject: [PATCH] As discussed on various channels, apply the following fix by lazy concensus for a platform specific bug fix. Fixes PR 32730. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@153677 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 4 ++++ STATUS | 7 ------- modules/arch/win32/mod_win32.c | 4 +++- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/CHANGES b/CHANGES index 6f775ae9652..f9c0f4c11b1 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,9 @@ Changes with Apache 2.0.54 + *) mod_win32: Ignore both PATH_INFO as well as PATH_TRANSLATED to avoid + hiccups from additional path information passed in non-utf-8 format. + [Richard Donkin - svn rev 124556 + 151464 - +1: wrowe - *) several changes to improve logging of connection-oriented errors, including ap_log_cerror() API (needs minor bump in addition to changes below) http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/core.c?r1=1.289&r2=1.291 diff --git a/modules/arch/win32/mod_win32.c b/modules/arch/win32/mod_win32.c index 19b6ad2071a..da50fa4624f 100644 --- a/modules/arch/win32/mod_win32.c +++ b/modules/arch/win32/mod_win32.c @@ -511,7 +511,9 @@ 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 + || strcmp(elts[i].key, "PATH_TRANSLATED") == 0)) { prep_string((const char**) &elts[i].val, r->pool); } } -- 2.47.2