Author: toad
Date: 2006-12-01 01:29:31 +0000 (Fri, 01 Dec 2006)
New Revision: 11162

Modified:
   trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
Log:
Force or force-download overrides.

Modified: trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/FProxyToadlet.java   2006-12-01 
01:28:40 UTC (rev 11161)
+++ trunk/freenet/src/freenet/clients/http/FProxyToadlet.java   2006-12-01 
01:29:31 UTC (rev 11162)
@@ -100,9 +100,7 @@
                                FilterOutput fo = ContentFilter.filter(data, 
bucketFactory, mimeType, new URI(basePath + 
URLEncoder.encode(key.toString(false))), null);
                                data = fo.data;
                                mimeType = fo.type;
-                       }
-                       
-                       if(!forceDownload) {
+                               
                                if(horribleEvilHack(data) && 
!(mimeType.startsWith("application/rss+xml"))) {
                                        HTMLNode pageNode = 
context.getPageMaker().getPageNode("Potentially Dangerous Content (RSS)");
                                        HTMLNode contentNode = 
context.getPageMaker().getContentNode(pageNode);


Reply via email to