From 51206131782b3cce39bdec1ffce866ece1af10ce Mon Sep 17 00:00:00 2001 From: jongfoster Date: Fri, 30 Nov 2001 23:35:51 +0000 Subject: [PATCH] Renaming actionsfile to ijb.action --- cgiedit.c | 17 +++++++++++++++-- config | 10 +++++----- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/cgiedit.c b/cgiedit.c index 1b0ca29e..5645bfd4 100644 --- a/cgiedit.c +++ b/cgiedit.c @@ -1,4 +1,4 @@ -const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.6 2001/10/29 03:48:09 david__schmidt Exp $"; +const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.7 2001/11/13 00:28:24 jongfoster Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgiedit.c,v $ @@ -35,6 +35,19 @@ const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.6 2001/10/29 03:48:09 david__schm * * Revisions : * $Log: cgiedit.c,v $ + * Revision 1.7 2001/11/13 00:28:24 jongfoster + * - Renaming parameters from edit-actions-for-url so that they only + * contain legal JavaScript characters. If we wanted to write + * JavaScript that worked with Netscape 4, this is nessacery. + * (Note that at the moment the JavaScript doesn't actually work + * with Netscape 4, but now this is purely a template issue, not + * one affecting code). + * - Adding new CGIs for use by non-JavaScript browsers: + * edit-actions-url-form + * edit-actions-add-url-form + * edit-actions-remove-url-form + * - Fixing || bug. + * * Revision 1.6 2001/10/29 03:48:09 david__schmidt * OS/2 native needed a snprintf() routine. Added one to miscutil, brackedted * by and __OS2__ ifdef. @@ -2586,7 +2599,7 @@ jb_err cgi_edit_actions(struct client_state *csp, { return JB_ERR_MEMORY; } - if (enlist_unique_header(rsp->headers, "Location", "http://ijbswa.sourceforge.net/config/edit-actions-list?filename=edit")) + if (enlist_unique_header(rsp->headers, "Location", "http://ijbswa.sourceforge.net/config/edit-actions-list?filename=ijb")) { free(rsp->status); rsp->status = NULL; diff --git a/config b/config index 89e3485e..9d979548 100644 --- a/config +++ b/config @@ -1,7 +1,7 @@ # Sample Configuration file for the Internet Junkbuster 2.9.x # -# $Id: config,v 1.25 2001/10/26 11:12:15 oes Exp $ +# $Id: config,v 1.26 2001/11/05 21:31:09 steudten Exp $ # # Table of Contents @@ -84,7 +84,7 @@ logdir . # All sites are filtered if re_filterfile specified. # No sites are blocked. Nothing is an image. # -actionsfile actionsfile +actionsfile ijb.action # The re_filterfile contains content modification rules. These rules # permit powerful changes on the content of Web pages, e.g., you @@ -94,7 +94,7 @@ actionsfile actionsfile # # Default: content modification. (see '+-filter' in actionsfile) # -re_filterfile re_filterfile +re_filterfile re_filterfile # # The logfile is where all logging and error messages are written. @@ -113,7 +113,7 @@ re_filterfile re_filterfile # # Default: Log to the standard error channel, not to a file # -logfile logfile +logfile logfile # # The jarfile defines where Junkbuster stores the cookies it @@ -122,7 +122,7 @@ logfile logfile # # Default: Don't store intercepted cookies # -jarfile jarfile +jarfile jarfile # # If you specify a trustfile, Junkbuster will only allow access -- 2.39.2