httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_cgi.c
Date Thu, 26 Aug 2004 20:50:55 GMT
nd          2004/08/26 13:50:55

  Modified:    modules/generators mod_cgi.c
  Log:
  #ifndef AP_UNSAFE_ERROR_LOG_UNESCAPED the stderr to errorlog stuff
  for those who don't want to escape (as in server/log.c)
  
  Revision  Changes    Path
  1.169     +8 -1      httpd-2.0/modules/generators/mod_cgi.c
  
  Index: mod_cgi.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_cgi.c,v
  retrieving revision 1.168
  retrieving revision 1.169
  diff -u -u -r1.168 -r1.169
  --- mod_cgi.c	24 Aug 2004 01:49:59 -0000	1.168
  +++ mod_cgi.c	26 Aug 2004 20:50:55 -0000	1.169
  @@ -359,7 +359,14 @@
                       "(%d)%s: %s\n",
                       err,
                       apr_strerror(err, errbuf, sizeof(errbuf)),
  -                    ap_escape_logitem(pool, description));
  +#ifndef AP_UNSAFE_ERROR_LOG_UNESCAPED
  +                    ap_escape_logitem(pool,
  +#endif
  +                    description
  +#ifndef AP_UNSAFE_ERROR_LOG_UNESCAPED
  +                    )
  +#endif
  +                    );
   }
   
   static apr_status_t run_cgi_child(apr_file_t **script_out,
  
  
  

Mime
View raw message