Author: bombe
Date: 2006-08-05 12:48:35 +0000 (Sat, 05 Aug 2006)
New Revision: 9900
Modified:
trunk/freenet/src/freenet/clients/http/QueueToadlet.java
Log:
html decode key
Modified: trunk/freenet/src/freenet/clients/http/QueueToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/QueueToadlet.java 2006-08-05
12:30:36 UTC (rev 9899)
+++ trunk/freenet/src/freenet/clients/http/QueueToadlet.java 2006-08-05
12:48:35 UTC (rev 9900)
@@ -129,7 +129,7 @@
insertURI = new FreenetURI("CHK@");
} else if ("ksk".equals(keyType)) {
try {
- insertURI = new
FreenetURI(request.getPartAsString("key", 128));
+ insertURI = new
FreenetURI(HTMLDecoder.decode(request.getPartAsString("key", 128)));
} catch (MalformedURLException mue1) {
writeError("Invalid URI to insert",
"You did not specify a valid URI to insert the file to.", ctx);
return;