[freenet-cvs] r12609 - trunk/freenet/src/freenet/node/fcp

nextgens at freenetproject.org nextgens at freenetproject.org
Thu Apr 12 15:14:42 UTC 2007


Author: nextgens
Date: 2007-04-12 15:14:41 +0000 (Thu, 12 Apr 2007)
New Revision: 12609

Modified:
   trunk/freenet/src/freenet/node/fcp/ClientGet.java
Log:
Same thing for clientGet: we want non-fcp operations to bypass the check!

Modified: trunk/freenet/src/freenet/node/fcp/ClientGet.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/ClientGet.java	2007-04-12 15:13:28 UTC (rev 12608)
+++ trunk/freenet/src/freenet/node/fcp/ClientGet.java	2007-04-12 15:14:41 UTC (rev 12609)
@@ -91,8 +91,6 @@
 			this.tempFile = returnTempFilename;
 			if(!(client.core.allowDownloadTo(returnTempFilename) && client.core.allowDownloadTo(returnFilename)))
 				throw new NotAllowedException();
-			else if(!(client.getConnection().allowDDAFrom(returnTempFilename, true) && client.getConnection().allowDDAFrom(returnFilename, true)))
-				throw new NotAllowedException();
 			ret = new FileBucket(returnTempFilename, false, true, false, false, false);
 		} else if(returnType == ClientGetMessage.RETURN_TYPE_NONE) {
 			targetFile = null;




More information about the cvs mailing list