mirror of
https://github.com/m2049r/xmrwallet
synced 2025-04-16 20:41:12 +02:00
increase sanity check size limit (#576)
This commit is contained in:
parent
27f266b6f7
commit
1f976872fc
@ -228,7 +228,7 @@ public class NodeInfo extends Node {
|
||||
responseCode = response.code();
|
||||
if (response.isSuccessful()) {
|
||||
ResponseBody respBody = response.body(); // closed through Response object
|
||||
if ((respBody != null) && (respBody.contentLength() < 1000)) { // sanity check
|
||||
if ((respBody != null) && (respBody.contentLength() < 2000)) { // sanity check
|
||||
final JSONObject json = new JSONObject(
|
||||
respBody.string());
|
||||
final JSONObject header = json.getJSONObject(
|
||||
|
Loading…
x
Reference in New Issue
Block a user