https://issues.apache.org/bugzilla/show_bug.cgi?id=56388

            Bug ID: 56388
           Summary: proxy-chain-auth variable check has wrong case
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
          Assignee: [email protected]
          Reporter: [email protected]

The environment variable proxy-chain-auth is described in the documentation of
mod_proxy:
http://httpd.apache.org/docs/current/mod/mod_proxy_http.html#env

The corresponding code looks like this:

        /* Do we want to strip Proxy-Authorization ?
         * If we haven't used it, then NO
         * If we have used it then MAYBE: RFC2616 says we MAY propagate it.
         * So let's make it configurable by env.
         */
        if (!strcasecmp(headers_in[counter].key,"Proxy-Authorization")) {
            if (r->user != NULL) { /* we've authenticated */
                if (!apr_table_get(r->subprocess_env, "Proxy-Chain-Auth")) {
                    continue;
                }
            }
        }

As you can see, the documentation uses lowercase "proxy-chain-auth" and the
code uses camelcase "Proxy-Chain-Auth". I expect the code to use the lowercase
variable name.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to