mmangino/facebooker2 — pull request #83 by noniq (2012-09-04 22:42:52+00:00)
Title: 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.