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-Tag: 2.5.0-alpha~3559 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26c1550126a489ffcc696a5d3ea6af7e14890511;p=apache 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 da884b9e1e..3a681437d8 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;