fix another split() bug

This commit is contained in:
zzz
2015-03-31 11:26:02 +00:00
parent c770c6bc6a
commit 22c4149358

View File

@ -912,7 +912,7 @@ public class TrackerClient implements Runnable {
if (path == null || path.length() < 517 ||
!path.startsWith("/"))
return null;
String[] parts = path.substring(1).split("/?&;", 2);
String[] parts = path.substring(1).split("[/\\?&;]", 2);
return ConvertToHash.getHash(parts[0]);
}
return null;