* i2psnark:

- Fix NPE after create file failure
      - Sanitize more characters in file names
This commit is contained in:
zzz
2010-02-26 16:44:49 +00:00
parent 5fd4488e08
commit 299214aa1d
3 changed files with 34 additions and 6 deletions

View File

@@ -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