Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use base64_url_decode for decoding signed request JSON.
https://developers.facebook.com/docs/authentication/signed_request/ states that the JSON part of the signed request is base64url encoded. Without this fix, decoding signed requests containing _ or - characters leads to garbled strings and JSON parsing fails subsequently.
- Loading branch information