jQuery-File-Upload icon indicating copy to clipboard operation
jQuery-File-Upload copied to clipboard

IE8 submitting empty POST request

Open tylerjohnst opened this issue 14 years ago • 3 comments

I'm using the file uploader to do transparent uploads. It works great in FF/Chrome/Safari but IE8 submits the post request with an empty body. Example code (in Coffee)

$el = $(@el).find('[type=file]')
$el.fileupload
  url: '/api/v2/photos.json'
  dataType: 'json'
  paramName: 'photo[file]'
  sequentialUploads: true

  formData: ->
    [{ name: "photo[access_key]", value: fm.records.helpers.guid() }]

  add: (e, data) =>
    data.submit().error(@renderError).success(@renderSuccess)

Any reason this would be happening?

tylerjohnst avatar Sep 25 '12 15:09 tylerjohnst

I cannot reproduce any issues with IE8, therefore I'm closing the issue.

Please post your request to the support forum: https://groups.google.com/d/forum/jquery-fileupload

Since the support forum has been established, the issues tracker should only be used for bug reports directly related to the plugin itself, not for customization issues.

For more information on how to get help, please refer to the support guidelines: https://github.com/blueimp/jQuery-File-Upload#support

blueimp avatar Sep 26 '12 03:09 blueimp

Tyler did you ever figure out the issue? I'm running into the same problem w IE9 and haven't found a solution yet... Thanks

bhellman1 avatar Oct 02 '12 22:10 bhellman1

Yeah I did, it was because I wasn't including the jquery.iframe-transport.js.

tylerjohnst avatar Oct 03 '12 13:10 tylerjohnst