forked from I2P_Developers/i2p.i2p
Refresh debian patches
This commit is contained in:
@@ -37,7 +37,7 @@ Index: b/apps/routerconsole/java/src/net/i2p/router/web/RouterConsoleRunner.java
|
|||||||
============================================================
|
============================================================
|
||||||
--- a/apps/routerconsole/java/src/net/i2p/router/web/RouterConsoleRunner.java
|
--- a/apps/routerconsole/java/src/net/i2p/router/web/RouterConsoleRunner.java
|
||||||
+++ b/apps/routerconsole/java/src/net/i2p/router/web/RouterConsoleRunner.java
|
+++ b/apps/routerconsole/java/src/net/i2p/router/web/RouterConsoleRunner.java
|
||||||
@@ -1093,8 +1093,8 @@ public class RouterConsoleRunner impleme
|
@@ -1094,8 +1094,8 @@ public class RouterConsoleRunner impleme
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@@ -33,7 +33,7 @@
|
|||||||
import org.eclipse.jetty.security.authentication.DigestAuthenticator;
|
import org.eclipse.jetty.security.authentication.DigestAuthenticator;
|
||||||
import org.eclipse.jetty.server.AbstractConnector;
|
import org.eclipse.jetty.server.AbstractConnector;
|
||||||
import org.eclipse.jetty.server.ConnectionFactory;
|
import org.eclipse.jetty.server.ConnectionFactory;
|
||||||
@@ -980,6 +982,8 @@
|
@@ -981,6 +983,8 @@
|
||||||
} else {
|
} else {
|
||||||
HashLoginService realm = new CustomHashLoginService(JETTY_REALM, context.getContextPath(),
|
HashLoginService realm = new CustomHashLoginService(JETTY_REALM, context.getContextPath(),
|
||||||
ctx.logManager().getLog(RouterConsoleRunner.class));
|
ctx.logManager().getLog(RouterConsoleRunner.class));
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
sec.setLoginService(realm);
|
sec.setLoginService(realm);
|
||||||
sec.setAuthenticator(authenticator);
|
sec.setAuthenticator(authenticator);
|
||||||
String[] role = new String[] {JETTY_ROLE};
|
String[] role = new String[] {JETTY_ROLE};
|
||||||
@@ -987,7 +991,7 @@
|
@@ -988,7 +992,7 @@
|
||||||
String user = e.getKey();
|
String user = e.getKey();
|
||||||
String pw = e.getValue();
|
String pw = e.getValue();
|
||||||
Credential cred = Credential.getCredential(MD5_CREDENTIAL_TYPE + pw);
|
Credential cred = Credential.getCredential(MD5_CREDENTIAL_TYPE + pw);
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
Constraint constraint = new Constraint(user, JETTY_ROLE);
|
Constraint constraint = new Constraint(user, JETTY_ROLE);
|
||||||
constraint.setAuthenticate(true);
|
constraint.setAuthenticate(true);
|
||||||
ConstraintMapping cm = new ConstraintMapping();
|
ConstraintMapping cm = new ConstraintMapping();
|
||||||
@@ -1007,7 +1011,7 @@
|
@@ -1008,7 +1012,7 @@
|
||||||
try {
|
try {
|
||||||
// each char truncated to 8 bytes
|
// each char truncated to 8 bytes
|
||||||
String user2 = new String(b2, "ISO-8859-1");
|
String user2 = new String(b2, "ISO-8859-1");
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
constraint = new Constraint(user2, JETTY_ROLE);
|
constraint = new Constraint(user2, JETTY_ROLE);
|
||||||
constraint.setAuthenticate(true);
|
constraint.setAuthenticate(true);
|
||||||
cm = new ConstraintMapping();
|
cm = new ConstraintMapping();
|
||||||
@@ -1018,7 +1022,7 @@
|
@@ -1019,7 +1023,7 @@
|
||||||
// each UTF-8 byte as a char
|
// each UTF-8 byte as a char
|
||||||
// this is what chrome does
|
// this is what chrome does
|
||||||
String user3 = new String(b1, "ISO-8859-1");
|
String user3 = new String(b1, "ISO-8859-1");
|
||||||
|
Reference in New Issue
Block a user