forked from I2P_Developers/i2p.i2p
fix anonymous proxy flag
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
String c = request.getParameter("c");
|
String c = request.getParameter("c");
|
||||||
if (c != null &&
|
if (c != null &&
|
||||||
(c.length() == 2 || c.length() == 7) &&
|
(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();
|
java.io.OutputStream cout = response.getOutputStream();
|
||||||
String base = net.i2p.I2PAppContext.getGlobalContext().getBaseDir().getAbsolutePath();
|
String base = net.i2p.I2PAppContext.getGlobalContext().getBaseDir().getAbsolutePath();
|
||||||
String file = "docs" + java.io.File.separatorChar + "icons" + java.io.File.separatorChar +
|
String file = "docs" + java.io.File.separatorChar + "icons" + java.io.File.separatorChar +
|
||||||
|
Reference in New Issue
Block a user