projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Typos
[privoxy.git]
/
cgi.c
diff --git
a/cgi.c
b/cgi.c
index
08cadde
..
062b976
100644
(file)
--- a/
cgi.c
+++ b/
cgi.c
@@
-1,4
+1,4
@@
-const char cgi_rcs[] = "$Id: cgi.c,v 1.6
1 2002/04/10 13:37:48 oes
Exp $";
+const char cgi_rcs[] = "$Id: cgi.c,v 1.6
2 2002/04/10 19:59:46 jongfoster
Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgi.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgi.c,v $
@@
-38,6
+38,11
@@
const char cgi_rcs[] = "$Id: cgi.c,v 1.61 2002/04/10 13:37:48 oes Exp $";
*
* Revisions :
* $Log: 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
*
* Revision 1.61 2002/04/10 13:37:48 oes
* Made templates modular: template_load now recursive with max depth 1
*
@@
-555,7
+560,7
@@
static struct map *parse_cgi_parameters(char *argstring);
* Function : dispatch_cgi
*
* Description : Checks if a request URL has either the magical
* Function : dispatch_cgi
*
* Description : Checks if a request URL has either the magical
- * hostname CGI_SITE_1_HOST (usu
lly http://i.j.b
/) or
+ * hostname CGI_SITE_1_HOST (usu
ally 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
* 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