I\'m using the jQuery ajaxForms plugin to make an ajax submit to my CakePHP app.
Cake\'s RequestHandler detects ajax requests by looking at the \"X-Requested-With\
I found the problem to be lack of support for file uploads in older versions of the plugin. When I removed the file inputs, the problem went away.