Update of /cvsroot/tmda/tmda/bin
In directory sc8-pr-cvs1:/tmp/cvs-serv29914
Modified Files:
ChangeLog tmda-rfilter
Log Message:
Test Defaults.CGI_ACTIVE before testing Defaults.CGI_URL in bouncegen
(tmda-rfilter). Defaults.CGI_URL will not be set if the CGI is not in use
and will thus cause an exception when accessed.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda/bin/ChangeLog,v
retrieving revision 1.245
retrieving revision 1.246
diff -u -r1.245 -r1.246
--- ChangeLog 6 Dec 2002 23:48:12 -0000 1.245
+++ ChangeLog 9 Dec 2002 07:08:50 -0000 1.246
@@ -1,3 +1,8 @@
+2002-12-09 Tim Legant <[EMAIL PROTECTED]>
+
+ * tmda-rfilter (bouncegen): Test Defaults.CGI_ACTIVE before
+ Defaults.CGI_URL, in case CGI_URL has not been set.
+
2002-12-06 Jason R. Mastaler <[EMAIL PROTECTED]>
* tmda-rfilter (bouncegen): confirm_accept_url holds the release
Index: tmda-rfilter
===================================================================
RCS file: /cvsroot/tmda/tmda/bin/tmda-rfilter,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- tmda-rfilter 6 Dec 2002 23:48:12 -0000 1.77
+++ tmda-rfilter 9 Dec 2002 07:08:50 -0000 1.78
@@ -633,7 +633,7 @@
timestamp,
pid,
'accept')
- if Defaults.CGI_URL:
+ if Defaults.CGI_ACTIVE and Defaults.CGI_URL:
# e.g, http://www.domain.tld/tmda.cgi?684.1038959858.48460.c7a2e8
confirm_accept_url = '%s?%s.%s' %(Defaults.CGI_URL, os.geteuid(),
Cookie.make_confirm_cookie(timestamp,
_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs