facebook/facebook-php-sdk — pull request #104 by gfosco (2013-10-19 05:52:43+00:00)
Title: Improved validation in parseSignedRequest.

Several prior PRs referenced this. I researched other open source implementations and this is common first line of defense. Also added an isset check on the decoded signature.