nelmio/NelmioCorsBundle — pull request #13 by alex88 (2013-10-29 12:55:19+00:00)
Title: Check if Origin is the same as request Hostname

I've added a check that doesn't treat the request as Cors if the Origin header is the same as the requested Host. This can happen on form submits that sends both the referal and the Origin header even if it's just a redirect within the same host.