You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2014/04/11 12:02:17 UTC
[Bug 56388] New: proxy-chain-auth variable check has wrong case
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: bugs@httpd.apache.org
Reporter: sjoerd-apache@linuxonly.nl
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 56388] proxy-chain-auth variable check has wrong case
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56388
Yann Ylavic <yl...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Yann Ylavic <yl...@gmail.com> ---
apr_table operations are case insensitive, hence this code is working as
expected.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org