fix anonymous proxy flag

This commit is contained in:
zzz
2014-09-23 12:18:23 +00:00
parent 0e48557b48
commit 1407cff49d

View File

@@ -14,7 +14,7 @@
String c = request.getParameter("c");
if (c != null &&
(c.length() == 2 || c.length() == 7) &&
c.replaceAll("[a-z_]", "").length() == 0) {
c.replaceAll("[a-z0-9_]", "").length() == 0) {
java.io.OutputStream cout = response.getOutputStream();
String base = net.i2p.I2PAppContext.getGlobalContext().getBaseDir().getAbsolutePath();
String file = "docs" + java.io.File.separatorChar + "icons" + java.io.File.separatorChar +