LPology / Simple-Ajax-Uploader

Javascript file upload plugin with progress bar support. Works in all major browsers, including IE7+, Chrome, Firefox, Safari, and Opera. No dependencies - use it with or without jQuery.
995 stars 267 forks source link

Update SimpleAjaxUploader.js #129

Closed PeterMozesMerl closed 8 years ago

PeterMozesMerl commented 8 years ago

I think the file name should always be encoded. This is an easy fix, however, I’m not sure whether it conflicts with the logic behind the opts.customHeaders or not.

LPology commented 8 years ago

Just pushed an update (version 2.3) that employs a fix for file name encoding. All request header values are now UTF-8 encoded. This allows periods, hyphens, underscores, etc., to remain intact while also fixing the issue with non-English file names.

Thanks for your input.