This seems like a very optional, but increasingly secure, requirement to help keep form submission in the context of the HTML form rather than allowing programmatic access to submit forms.
I understand browser support for this is rather lax, however a majority of the popular browsers support this cookie flag just fine.
I can submit a patch. Anybody feel like this would inadvertently mess with a lot of existing deployments by causing XSRF failures where ajax requests would have succeeded after gleaning the token?
- Shane