Author: toad
Date: 2007-03-31 14:33:08 +0000 (Sat, 31 Mar 2007)
New Revision: 12466

Modified:
   trunk/freenet/src/freenet/node/updater/RevocationChecker.java
Log:
Don't follow permanent redirects on revocation, just display an error showing 
the new URI

Modified: trunk/freenet/src/freenet/node/updater/RevocationChecker.java
===================================================================
--- trunk/freenet/src/freenet/node/updater/RevocationChecker.java       
2007-03-31 14:32:41 UTC (rev 12465)
+++ trunk/freenet/src/freenet/node/updater/RevocationChecker.java       
2007-03-31 14:33:08 UTC (rev 12466)
@@ -142,6 +142,9 @@
                        manager.blow("Permanent error fetching revocation 
(error inserting the revocation key?): "+e.toString());
                        return;
                }
+               if(e.newURI != null) {
+                       manager.blow("Revocation URI redirecting to 
"+e.newURI+" - maybe you set the revocation URI to the update URI?");
+               }
                synchronized(this) {
                        if(errorCode == FetchException.DATA_NOT_FOUND){
                                revocationDNFCounter++;


Reply via email to