Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: CVS

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

 

 

Apache cvs RSS feed   Index | Next | Previous | View Threaded


jorton at apache

Nov 4, 2009, 2:26 PM

Post #1 of 1 (117 views)
Permalink
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 */

Apache cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.