Author: toad
Date: 2008-01-17 23:12:54 +0000 (Thu, 17 Jan 2008)
New Revision: 17120
Modified:
trunk/freenet/src/freenet/clients/http/LocalFileInsertToadlet.java
Log:
Keep the key when going to a filesystem root
Modified: trunk/freenet/src/freenet/clients/http/LocalFileInsertToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/LocalFileInsertToadlet.java
2008-01-17 23:10:31 UTC (rev 17119)
+++ trunk/freenet/src/freenet/clients/http/LocalFileInsertToadlet.java
2008-01-17 23:12:54 UTC (rev 17120)
@@ -109,7 +109,7 @@
HTMLNode rootRow = listingTable.addChild("tr");
rootRow.addChild("td");
HTMLNode rootLinkCellNode =
rootRow.addChild("td");
- rootLinkCellNode.addChild("a", "href", "?path="
+ URLEncoder.encode(currentRoot.getCanonicalPath(),false),
currentRoot.getCanonicalPath());
+ rootLinkCellNode.addChild("a", "href", "?path="
+ URLEncoder.encode(currentRoot.getCanonicalPath(),false)+extra,
currentRoot.getCanonicalPath());
rootRow.addChild("td");
}
/* add back link */