Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit b1e0ef8

Browse files
authored
Merge pull request #699 from Incont/master
Update SignedRequest.php
2 parents bfd1828 + dbc00f6 commit b1e0ef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Facebook/SignedRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ protected function decodePayload($encodedPayload)
211211
$payload = $this->base64UrlDecode($encodedPayload);
212212

213213
if ($payload) {
214-
$payload = json_decode($payload, true);
214+
$payload = json_decode($payload, true, 512, JSON_BIGINT_AS_STRING);
215215
}
216216

217217
if (!is_array($payload)) {

0 commit comments

Comments
 (0)