FriendsOfSymfony/FOSFacebookBundle — pull request #153 by ahilles107 (2012-06-13 11:51:04+00:00)
Title: Fix redirect url replacing.

If we have in server_url addres with "http" and user browse page with https when $redirect_uri will be broken and user will land on server page - not app. preg_replace removes http:// or https:// from urls and redirects user properly.