From: Christophe Jaillet Date: Mon, 5 Jan 2015 19:53:35 +0000 (+0000) Subject: Be consistant with the code below which accepts lower or upper case. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0bd9a168b554b70ea18e12603cdede534ee8f40e;p=thirdparty%2Fapache%2Fhttpd.git Be consistant with the code below which accepts lower or upper case. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1649632 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index da884b9e1e9..3a681437d8a 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -698,7 +698,7 @@ static const char *include_expr_var_fn(ap_expr_eval_ctx_t *eval_ctx, { const char *res, *name = data; include_ctx_t *ctx = eval_ctx->data; - if (name[0] == 'e') { + if ((name[0] == 'e') || (name[0] == 'E')) { /* keep legacy "env" semantics */ if ((res = apr_table_get(ctx->r->notes, arg)) != NULL) return res;