1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 14:47:29 +00:00
This commit is contained in:
Austin Huang 2020-12-30 13:49:01 -05:00
parent 3883c4153c
commit f325d07a84
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F

View File

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