Browse Source

fix #478

renovate/org.robolectric-robolectric-4.x
Austin Huang 4 years ago
parent
commit
f325d07a84
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 7
      app/src/main/java/awais/instagrabber/utils/Utils.java

7
app/src/main/java/awais/instagrabber/utils/Utils.java

@ -79,12 +79,9 @@ public final class Utils {
if (signed == null) {
return null;
}
final String[] parts = signed.split("&");
final Map<String, String> map = new HashMap<>();
for (final String part : parts) {
final String[] partSplit = part.split("=");
map.put(partSplit[0], partSplit[1]);
}
map.put("ig_sig_key_version", Constants.SIGNATURE_VERSION);
map.put("signed_body", signed.split("&signed_body=")[1]);
return map;
}

Loading…
Cancel
Save