-const char cgi_rcs[] = "$Id: cgi.c,v 1.61 2002/04/10 13:37:48 oes Exp $";
+const char cgi_rcs[] = "$Id: cgi.c,v 1.62 2002/04/10 19:59:46 jongfoster Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgi.c,v $
*
* Revisions :
* $Log: cgi.c,v $
+ * Revision 1.62 2002/04/10 19:59:46 jongfoster
+ * Fixes to #include in templates:
+ * - Didn't close main file if loading an included template fails.
+ * - I'm paranoid and want to disallow "#include /etc/passwd".
+ *
* Revision 1.61 2002/04/10 13:37:48 oes
* Made templates modular: template_load now recursive with max depth 1
*
* Function : dispatch_cgi
*
* Description : Checks if a request URL has either the magical
- * hostname CGI_SITE_1_HOST (usully http://i.j.b/) or
+ * hostname CGI_SITE_1_HOST (usually http://p.p/) or
* matches CGI_SITE_2_HOST CGI_SITE_2_PATH (usually
* http://ijbswa.sourceforge.net/config). If so, it passes
* the (rest of the) path onto dispatch_known_cgi, which
# Sample Configuration file for Privoxy
#
-# $Id: config,v 1.31 2002/03/24 12:58:57 swa Exp $
+# $Id: config,v 1.32 2002/04/02 20:11:35 oes Exp $
#
# Table of Contents
# require up to buffer-limit Kbytes *each*, unless you have set
# single-threaded below.
#
-# Default: 4069, i.e. 4 MB
+# Default: 4096, i.e. 4 MB
#
-buffer-limit 4069
+buffer-limit 4096
#
+filter{webbugs} \
+filter{nimda} \
+filter{banners-by-size} \
-+no-compression \
+hide-forwarded \
+hide-from{block} \
+hide-referer{forge} \
-hide-user-agent \
-image \
+image-blocker{pattern} \
++no-compression \
+no-cookies-keep \
-no-cookies-read \
-no-cookies-set \
#ifndef PROJECT_H_INCLUDED
#define PROJECT_H_INCLUDED
-#define PROJECT_H_VERSION "$Id: project.h,v 1.64 2002/04/03 22:28:03 gliptak Exp $"
+#define PROJECT_H_VERSION "$Id: project.h,v 1.65 2002/04/04 00:36:36 gliptak Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/project.h,v $
*
* Revisions :
* $Log: project.h,v $
+ * Revision 1.65 2002/04/04 00:36:36 gliptak
+ * always use pcre for matching
+ *
* Revision 1.64 2002/04/03 22:28:03 gliptak
* Removed references to gnu_regex
*
int debug;
int multi_threaded;
- /* Features that can be enabled/disabled throuigh the config file */
+ /* Features that can be enabled/disabled through the config file */
unsigned feature_flags;
const char *logfile;