Author: nextgens
Date: 2007-05-03 09:45:02 +0000 (Thu, 03 May 2007)
New Revision: 13121
Modified:
trunk/freenet/src/freenet/clients/http/PproxyToadlet.java
Log:
no need to do the check twice
Modified: trunk/freenet/src/freenet/clients/http/PproxyToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/PproxyToadlet.java 2007-05-03
09:42:22 UTC (rev 13120)
+++ trunk/freenet/src/freenet/clients/http/PproxyToadlet.java 2007-05-03
09:45:02 UTC (rev 13121)
@@ -189,11 +189,6 @@
public void handleGet(URI uri, HTTPRequest request, ToadletContext ctx)
throws ToadletContextClosedException, IOException {
- if(!ctx.isAllowedFullAccess()) {
- super.sendErrorPage(ctx, 403, "Unauthorized",
L10n.getString("Toadlet.unauthorized"));
- return;
- }
-
//String basepath = "/plugins/";
String path = request.getPath();