forked from I2P_Developers/i2p.i2p
* i2psnark:
- Fix NPE after create file failure
- Sanitize more characters in file names
This commit is contained in:
@@ -179,7 +179,7 @@ public class BEValue
|
||||
if (value instanceof byte[])
|
||||
{
|
||||
byte[] bs = (byte[])value;
|
||||
// XXX - Stupid heuristic...
|
||||
// XXX - Stupid heuristic... and not UTF-8
|
||||
if (bs.length <= 12)
|
||||
valueString = new String(bs);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user