Author: j16sdiz
Date: 2009-02-17 06:28:17 +0000 (Tue, 17 Feb 2009)
New Revision: 25664

Modified:
   trunk/freenet/src/freenet/clients/http/LocalFileInsertToadlet.java
Log:
more FIXME

Modified: trunk/freenet/src/freenet/clients/http/LocalFileInsertToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/LocalFileInsertToadlet.java  
2009-02-17 06:27:42 UTC (rev 25663)
+++ trunk/freenet/src/freenet/clients/http/LocalFileInsertToadlet.java  
2009-02-17 06:28:17 UTC (rev 25664)
@@ -58,7 +58,7 @@
                String path = request.getParam("path");
                if (path.length() == 0) {
                        if (currentPath == null) {
-                               currentPath = new 
File(System.getProperty("user.home"));
+                               currentPath = new 
File(System.getProperty("user.home")); // FIXME what if user.home is denied?
                        }
                        writePermanentRedirect(toadletContext, "Found", 
"?path=" + URLEncoder.encode(currentPath.getAbsolutePath(),true)+extra);
                        return;

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

Reply via email to