]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
As discussed on various channels, apply the following fix by lazy
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 13 Feb 2005 22:05:43 +0000 (22:05 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 13 Feb 2005 22:05:43 +0000 (22:05 +0000)
  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
STATUS
modules/arch/win32/mod_win32.c

diff --git a/CHANGES b/CHANGES
index 6f775ae9652dd039ca16a232ec35a5b27918c323..f9c0f4c11b1cdc8f970f9107920a16f46197ec8d 100644 (file)
--- 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 <rd9 donkin.org]
+
 Changes with Apache 2.0.53
 
   *) Fix --with-apr=/usr and/or --with-apr-util=/usr.  PR 29740.
diff --git a/STATUS b/STATUS
index 01e6acbb85bde83b4880a9ee72400536d9c1cc26..8d78c77ffe98c95049f60916797fc28b1ac81698 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -134,13 +134,6 @@ PATCHES TO BACKPORT FROM TRUNK:
        PR: 32529
        +1: jorton
 
-    *) win32: Handle PATH_INFO -and- PATH_TRANSLATED as opaque byte-wise 
-       data for cgi invocation, as handled for other variables originally 
-       fixed in bug 9223, within modules/arch/win32/mod_win32.c.
-       PR: 32730 Submitted by: Richard Donkin <rd9 donkin.org>
-       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
index 19b6ad2071aa5e1f48ecd8a6aa143e6ea9878b78..da50fa4624f4a73ca41af4cb4537cdce60aefcdd 100644 (file)
@@ -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);
         }
     }