Craft 2.2 with enabled enableCsrfProtection: Failed to load resource: the server responded with a status of 400 (Bad Request) Since the update to version 2.2 I can't upload assets.

I get this error message in the console:

Failed to load resource: the server responded with a status of 400 (Bad Request)

And the upload stops:


Any idea why?
I can confirm this is a bug on Craft 2.2.2579 when CSRF protection is enabled.  Will get a fix out for it shortly and update this answer when it's done.

Update:

Fixed in Craft 2.2.2582.