[freenet-cvs] r16212 - trunk/apps/Echo/src/plugins/echo

nextgens at freenetproject.org nextgens at freenetproject.org
Mon Dec 3 11:08:26 UTC 2007


Author: nextgens
Date: 2007-12-03 11:08:26 +0000 (Mon, 03 Dec 2007)
New Revision: 16212

Modified:
   trunk/apps/Echo/src/plugins/echo/Echo.java
Log:
Echo: remove a useless test (done by the node)

Modified: trunk/apps/Echo/src/plugins/echo/Echo.java
===================================================================
--- trunk/apps/Echo/src/plugins/echo/Echo.java	2007-12-03 01:41:41 UTC (rev 16211)
+++ trunk/apps/Echo/src/plugins/echo/Echo.java	2007-12-03 11:08:26 UTC (rev 16212)
@@ -205,14 +205,7 @@
 		return "Put";
 	}
 	
-	public String handleHTTPPost(HTTPRequest request) throws PluginHTTPException {
-
-		String passwd = request.getPartAsString("formPassword", 32);				//
-		if((passwd == null) || !passwd.equals(respirator.getNode().clientCore.formPassword))	// FIXME : useless ?
-			return "Wrong Password !!";							//
-		
-		
+	public String handleHTTPPost(HTTPRequest request) throws PluginHTTPException {		
 		return handleHTTPRequest(request);
-
 	}
 }
\ No newline at end of file




More information about the cvs mailing list