forked from I2P_Developers/i2p.i2p
fix another split() bug
This commit is contained in:
@ -912,7 +912,7 @@ public class TrackerClient implements Runnable {
|
|||||||
if (path == null || path.length() < 517 ||
|
if (path == null || path.length() < 517 ||
|
||||||
!path.startsWith("/"))
|
!path.startsWith("/"))
|
||||||
return null;
|
return null;
|
||||||
String[] parts = path.substring(1).split("/?&;", 2);
|
String[] parts = path.substring(1).split("[/\\?&;]", 2);
|
||||||
return ConvertToHash.getHash(parts[0]);
|
return ConvertToHash.getHash(parts[0]);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
Reference in New Issue
Block a user