]> granicus.if.org Git - apache/commitdiff
Be consistant with the code below which accepts lower or upper case.
authorChristophe Jaillet <jailletc36@apache.org>
Mon, 5 Jan 2015 19:53:35 +0000 (19:53 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 5 Jan 2015 19:53:35 +0000 (19:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1649632 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_include.c

index da884b9e1e9cbf5fd09daea6fa7ad4a5d1652415..3a681437d8ad9a74448a0984059f0bb137bd518c 100644 (file)
@@ -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;