You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2015/01/05 20:53:35 UTC

svn commit: r1649632 - /httpd/httpd/trunk/modules/filters/mod_include.c

Author: jailletc36
Date: Mon Jan  5 19:53:35 2015
New Revision: 1649632

URL: http://svn.apache.org/r1649632
Log:
Be consistant with the code below which accepts lower or upper case.

Modified:
    httpd/httpd/trunk/modules/filters/mod_include.c

Modified: httpd/httpd/trunk/modules/filters/mod_include.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_include.c?rev=1649632&r1=1649631&r2=1649632&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_include.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_include.c Mon Jan  5 19:53:35 2015
@@ -698,7 +698,7 @@ static const char *include_expr_var_fn(a
 {
     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;