Author: toad
Date: 2009-01-08 22:08:28 +0000 (Thu, 08 Jan 2009)
New Revision: 24980

Modified:
   trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
Log:
Fix a bug


Modified: trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/FProxyToadlet.java   2009-01-08 
20:10:17 UTC (rev 24979)
+++ trunk/freenet/src/freenet/clients/http/FProxyToadlet.java   2009-01-08 
22:08:28 UTC (rev 24980)
@@ -536,7 +536,7 @@
                        if(Logger.shouldLog(Logger.MINOR, this))
                                Logger.minor(this, "Failed to fetch "+uri+" : 
"+e);
                        if(e.newURI != null) {
-                               Toadlet.writePermanentRedirect(ctx, msg, 
container.fixLink('/' +e.newURI.toASCIIString() + override));
+                               Toadlet.writePermanentRedirect(ctx, msg, '/' 
+e.newURI.toASCIIString() + override);
                        } else if(e.mode == FetchException.TOO_BIG) {
                                HTMLNode pageNode = 
ctx.getPageMaker().getPageNode(l10n("fileInformationTitle"), ctx);
                                HTMLNode contentNode = 
ctx.getPageMaker().getContentNode(pageNode);

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to