mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-12-22 21:16:57 +00:00
fix #478
This commit is contained in:
parent
3883c4153c
commit
f325d07a84
@ -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…
Reference in New Issue
Block a user