transloadit/jquery-sdk — pull request #6 by BenJam (2011-11-14 17:24:06+00:00)
Title: 'include' param: jQuery selector for b64 encoded file data contained in arbitrary form elements

Added 'include' to params to enable b64 encoded images in arbitrary DOM elements to be uploaded. This negates the input:type=file read-only problem in frameworks such as PhoneGap where access to camera data is as b64 or file uri only.

Note: this reintroduces the classic security flaw and could be used to send arbitrary data to a server. However most mobile applicaitons operate in a sandbox and have no access to any data other than within it's own namespace. Therefore this risk is mitigated.