Author: toad
Date: 2006-12-01 01:36:18 +0000 (Fri, 01 Dec 2006)
New Revision: 11165

Modified:
   trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
Log:
Actually set the MIME type this time...

Modified: trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/FProxyToadlet.java   2006-12-01 
01:33:52 UTC (rev 11164)
+++ trunk/freenet/src/freenet/clients/http/FProxyToadlet.java   2006-12-01 
01:36:18 UTC (rev 11165)
@@ -128,7 +128,7 @@
                                                option.addChild("#", " to open 
the file as " + mimeType + " (<b>this may also be dangerous</b>).");
                                        }
                                        option = optionList.addChild("li");
-                                       option.addChild("a", "href", basePath + 
key.toString(false) + "?force=" + getForceValue(key, now)+extras, "Click here");
+                                       option.addChild("a", "href", basePath + 
key.toString(false) + "?type=application/xml+rss&force=" + getForceValue(key, 
now)+extras, "Click here");
                                        option.addChild("%", " to open the file 
as RSS (<b>this is dangerous if the site author is malicious</b>).");
                                        option = optionList.addChild("li");
                                        option.addChild("a", "href", "/", 
"Click here");


Reply via email to