[2.1][FileUploads] FileInput AJAX Post fix #3199

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@cgmartin

When doing a form POST with AJAX, file upload values can come across as empty strings and not part of the $_FILES array.

Fixed the FileInput to allow non-array values, which helps the AJAX case.

Example usage can be found here, under the "Partial Session Progress" example: https://github.com/cgmartin/ZF2FileUploadExamples

@cgmartin cgmartin referenced this pull request in cgmartin/ZF2FileUploadExamples Dec 11, 2012
Merged

quick and dirty example showing partial validation, progressbar and a wo... #1

@ghost Unknown pushed a commit that referenced this pull request Jul 14, 2013
@weierophinney weierophinney Merge branch 'hotfix/3199' into develop
Close #3199
0a38429
@weierophinney weierophinney added a commit to zendframework/zend-inputfilter that referenced this pull request May 15, 2015
@weierophinney weierophinney Merge branch 'hotfix/3199' into develop aa9b6ac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment