]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r785661 from trunk:
authorJim Jagielski <jim@apache.org>
Mon, 6 Jul 2009 16:53:20 +0000 (16:53 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 6 Jul 2009 16:53:20 +0000 (16:53 +0000)
mod_proxy_http: fix case sensitivity checking transfer encoding
PR 47383 [Ryuzo Yamamoto]

Submitted by: niq
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@791540 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
modules/proxy/mod_proxy_http.c

diff --git a/CHANGES b/CHANGES
index 8aef4dddb53badf9e23869506374b5926c51f5c8..16bf4246de04599a8c7321f08a88b81906209a87 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -27,6 +27,9 @@ Changes with Apache 2.2.12
      different security issues which may affect particular configurations
      and third-party modules.
 
+  *) mod_proxy_http: fix case sensitivity checking transfer encoding
+     PR 47383 [Ryuzo Yamamoto <ryuzo.yamamoto gmail.com>]
+
   *) mod_rewrite: Fix the error string returned by RewriteRule.
      RewriteRule returned "RewriteCond: bad flag delimiters" when the 3rd
      argument of RewriteRule was not started with "[" or not ended with "]".
diff --git a/STATUS b/STATUS
index 70724b10f384aa44e7cc494c81cb725f9f105f3d..2ae4e777be10b2e128f5280357f97261c79b52e6 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -96,11 +96,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
    configs thought by their users to be working.
    +1: niq, rpluem, jim
 
- * mod_proxy_http: fix case sensitivity checking transfer encoding
-   PR 47383
-   Patch: http://svn.apache.org/viewvc?view=rev&revision=785661
-   +1: niq, rpluem, jim
-
 
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
index ae7fd08ba0b95080911d529411c3c2d3ff8f419a..caa7e5c54278bd6090c4203639f30c9343d8f071 100644 (file)
@@ -944,7 +944,7 @@ int ap_proxy_http_request(apr_pool_t *p, request_rec *r,
      * encoding has been done by the extensions' handler, and
      * do not modify add_te_chunked's logic
      */
-    if (old_te_val && strcmp(old_te_val, "chunked") != 0) {
+    if (old_te_val && strcasecmp(old_te_val, "chunked") != 0) {
         ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server,
                      "proxy: %s Transfer-Encoding is not supported",
                      old_te_val);