facebook/facebook-php-sdk — pull request #4 by mikesherov (2012-01-08 05:52:55+00:00)
Title: signed request does not degrade gracefully if user modifies the signed_request param.

1. ensure that signed_request has at least one "." character to avoid PHP notices.
2. fall back to COOKIE signed_request if REQUEST signed_request fails to parse.