balderdashy/sails-docs — pull request #303 by eighteyes (2014-10-02 21:15:04+00:00)
Title: Add multipart file upload CSRF gotcha solution

When you do non-ajaxy form file submissions, if the file is big, it won't load the CSRF before the file finishes uploading, and it bails. Being sure to include the CSRF field first in the form is the way to have that not happen.