Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

bugfix for login

allo25c4e47582f2
diff --git a/htroot/IndexMonitor.java b/htroot/IndexMonitor.java
index db7b71784..dfc8e40a3 100644
--- a/htroot/IndexMonitor.java
+++ b/htroot/IndexMonitor.java
@@ -78,7 +78,7 @@ public class IndexMonitor {
if (((process > 0) && (process < 6)) ||
(post.containsKey("clearlist")) ||
(post.containsKey("deleteentry"))) {
- String authorization = ((String) header.get("Authorization", "xxxxxx")).trim().substring(6);
+ String authorization = ((String) header.get("Authorization", "xxxxxx"));
if (authorization.length() != 0) {
if (! switchboard.userDB.hasAdminRight(authorization)){
// force log-in (again, because wrong password was given)