felixge/node-formidable — pull request #163 by jesperp (2012-08-21 13:06:07+00:00)
Title: Update lib/incoming_form.js

bug with content-disposition when name comes *after* filename. E.g:

attachment; filename="test/x.png"; name="files[]"

This will part.name to "test/x.png" instead of files[] because the regex to search for name finds filename first. The order of name/filename should not matter to the user :)
Solution is simple, add a \b (word boundary) to regex for name/filename..