You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2009/11/04 23:26:23 UTC
svn commit: r832886 - /httpd/httpd/trunk/modules/filters/mod_include.c
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 */