From: oes <oes@users.sourceforge.net>
Date: Tue, 24 Jun 2003 12:24:24 +0000 (+0000)
Subject: Added a line plus Fix-me as a reminder to fix broken force handling in trunk. Thanks... 
X-Git-Tag: v_3_1_archive_branchpoint~12
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/@default-cgi@edit-actions-remove-url?a=commitdiff_plain;h=b8d41f2985f90829c9e9ea93bb69896975683fa7;p=privoxy.git

Added a line plus Fix-me as a reminder to fix broken force handling in trunk. Thanks to lionel for the hint
---

diff --git a/src/jcc.c b/src/jcc.c
index e53b65a4..4cd21384 100644
--- a/src/jcc.c
+++ b/src/jcc.c
@@ -1,4 +1,4 @@
-const char jcc_rcs[] = "$Id: jcc.c,v 2.4 2002/12/28 03:58:19 david__schmidt Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 2.5 2003/01/26 20:24:26 david__schmidt Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/src/jcc.c,v $
@@ -33,6 +33,9 @@ const char jcc_rcs[] = "$Id: jcc.c,v 2.4 2002/12/28 03:58:19 david__schmidt Exp
  *
  * Revisions   :
  *    $Log: jcc.c,v $
+ *    Revision 2.5  2003/01/26 20:24:26  david__schmidt
+ *    Updated activity console instrumentation locations
+ *
  *    Revision 2.4  2002/12/28 03:58:19  david__schmidt
  *    Initial drop of dashboard instrumentation - enabled with
  *    --enable-activity-console
@@ -2171,11 +2174,13 @@ static jb_err process_client_headers( struct client_state *csp, struct http_requ
       /* If this request contains the FORCE_PREFIX,
        * better get rid of it now and set the force flag --oes
        * Changed to use the http structure rather than the req field --jaa
+       * FIXME: This isn't enough -- there is the path and referrer etc! *
        */
 
       if (strstr(http->url, FORCE_PREFIX))
       {
          strclean(http->url, FORCE_PREFIX);
+         strclean(http->path, FORCE_PREFIX);
          log_error(LOG_LEVEL_FORCE, "Enforcing request \"%s\".\n", http->url);
          csp->flags |= CSP_FLAG_FORCED;
       }