httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r832886 - /httpd/httpd/trunk/modules/filters/mod_include.c
Date Wed, 04 Nov 2009 22:26:23 GMT
Author: jorton
Date: Wed Nov  4 22:26:23 2009
New Revision: 832886

URL: http://svn.apache.org/viewvc?rev=832886&view=rev
Log:
* modules/filters/mod_include.c (handle_printenv): Fix handling of
  lazy variables, courtesy of LLVM scan-build.

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=832886&r1=832885&r2=832886&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_include.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_include.c Wed Nov  4 22:26:23 2009
@@ -1801,7 +1801,7 @@
         if (val_text == LAZY_VALUE) {
             val_text = add_include_vars_lazy(r, elts[i].key, ctx->time_str);
         }
-        val_text = ap_escape_html(ctx->dpool, elts[i].val);
+        val_text = ap_escape_html(ctx->dpool, val_text);
         v_len = strlen(val_text);
 
         /* assemble result */



Mime
View raw message