Commit 0992b8b9 authored by michael.simon's avatar michael.simon
Browse files

wrong cut position

parent f57fae78
......@@ -175,7 +175,7 @@ public class SecurityFilter implements Filter {
return false;
if (password.startsWith("{") && password.endsWith("}") && password.contains("|")) {
String method = password.substring(1, password.indexOf("|") - 1);
String method = password.substring(1, password.indexOf("|"));
try {
MessageDigest md = MessageDigest.getInstance(method);
byte[] bytes = comparePassword.getBytes(("UTF-8"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment