Be consistant with the code below which accepts lower or upper case.
Add CHANGE for r1649632
Submitted by: jailletc36
Reviewed/backported by: jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1651097 13f79535-47bb-0310-9956-
ffa450edef68
request headers earlier. Adds "MergeTrailers" directive to restore
legacy behavior. [Edward Lu, Yann Ylavic, Joe Orton, Eric Covener]
+ *) mod_include: the 'env' function was incorrectly handled as 'getenv' if the
+ leading 'e' was written in upper case in <!--#if expr="..." -->
+ statements. [Christophe Jaillet]
+
*) split-logfile: Fix perl error: 'Can't use string ("example.org:80")
as a symbol ref while "strict refs"'. PR 56329.
[Holger Mauermann <mauermann gmail.com>]
2.4.x patch: https://issues.apache.org/bugzilla/attachment.cgi?id=32209
+1: druggeri, gsmith, rjung
- * mod_include: the 'env' function was incorrectly handled as 'getenv' if the
- leading 'e' was written in upper case in <!--#if expr="..." -->
- statements. [Christophe Jaillet]
- trunk patch: http://svn.apache.org/r1649632
- http://svn.apache.org/r1649966
- 2.4.x patch: 1st trunk patch works, 2nd is for CHANGES
- +1 jailletc36, covener, jim
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
{
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;