From: Fabian Keil <fk@fabiankeil.de>
Date: Thu, 7 Sep 2006 10:40:30 +0000 (+0000)
Subject: Turns out trusted referrers above our arbitrary
X-Git-Tag: v_3_0_5~77
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/user-manual/faq/static/gitweb.js?a=commitdiff_plain;h=d98b37e94871360866d2b387666fdb7352e6f27d;p=privoxy.git

Turns out trusted referrers above our arbitrary
limit are downgraded too ordinary trusted URLs.
Adjusted error message.
---

diff --git a/loaders.c b/loaders.c
index 14bb12a9..51282f49 100644
--- a/loaders.c
+++ b/loaders.c
@@ -1,4 +1,4 @@
-const char loaders_rcs[] = "$Id: loaders.c,v 1.54 2006/09/07 10:22:20 fabiankeil Exp $";
+const char loaders_rcs[] = "$Id: loaders.c,v 1.55 2006/09/07 10:25:39 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/loaders.c,v $
@@ -35,6 +35,9 @@ const char loaders_rcs[] = "$Id: loaders.c,v 1.54 2006/09/07 10:22:20 fabiankeil
  *
  * Revisions   :
  *    $Log: loaders.c,v $
+ *    Revision 1.55  2006/09/07 10:25:39  fabiankeil
+ *    Fix typo.
+ *
  *    Revision 1.54  2006/09/07 10:22:20  fabiankeil
  *    If too many trusted referrers are used,
  *    print only one error message instead of logging
@@ -1204,16 +1207,10 @@ int load_trustfile(struct client_state *csp)
    if(trusted_referrers >= MAX_TRUSTED_REFERRERS) 
    {
       /*
-       * FIXME: csp->config->trust_list is only needed 
-       * to print the trusted referrers in Privoxy's blocking
-       * message. Not printing all of them is certainly better
-       * than writing them into memory that doesn't belong to us,
-       * but when Privoxy 3.0.4 is out, we should look for a real
-       * solution. 
+       * FIXME: ... after Privoxy 3.0.4 is out.
        */
-       log_error(LOG_LEVEL_ERROR, "Too many trusted referrers for Privoxy's webinterface to handle.\n"
-          "  Current limit is %d, you are using %d. Additional trusted referrers are recognized, "
-          "but will not show up in the blocking message.\n"
+       log_error(LOG_LEVEL_ERROR, "Too many trusted referrers. Current limit is %d, you are using %d.\n"
+          "  Additional trusted referrers are treated like ordinary trusted URLs.\n"
           "  (You can increase this limit by changing MAX_TRUSTED_REFERRERS in project.h and recompiling).",
           MAX_TRUSTED_REFERRERS, trusted_referrers);
    }