Author: nextgens
Date: 2007-11-30 21:12:35 +0000 (Fri, 30 Nov 2007)
New Revision: 16153
Modified:
trunk/freenet/src/freenet/clients/http/BookmarkEditorToadlet.java
Log:
BookmarkManager: don't trim() at all... renaming doesn't work yet but it will
soon!
Modified: trunk/freenet/src/freenet/clients/http/BookmarkEditorToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/BookmarkEditorToadlet.java
2007-11-30 20:48:46 UTC (rev 16152)
+++ trunk/freenet/src/freenet/clients/http/BookmarkEditorToadlet.java
2007-11-30 21:12:35 UTC (rev 16153)
@@ -52,7 +52,7 @@
for(int i = 0; i < items.size(); i++) {
- String itemPath = URLEncoder.encode(path +
items.get(i).getName(), false).trim();
+ String itemPath = URLEncoder.encode(path +
items.get(i).getName(), false);
HTMLNode li = new HTMLNode("li", "class", "item",
items.get(i).getName());
HTMLNode actions = new HTMLNode("span", "class",
"actions");
@@ -286,7 +286,7 @@
}
- String action = req.getPartAsString("action",
MAX_ACTION_LENGTH).trim();
+ String action = req.getPartAsString("action",
MAX_ACTION_LENGTH);
if(req.isPartSet("confirmdelete")) {
bookmarkManager.removeBookmark(bookmarkPath);