It seems that the Kendo Upload control has a Problem with international file names. I.e. i select a file with the arbitrary name یاتلبمتیابنیب.docx
, and the resulting POST request looks like this:
Content-Type: multipart/form-data; boundary=---------------------------105252201922976
Content-Disposition: form-data; name="files"; filename="ÛØ§ØªÙØ¨Ù
It is clear the the file name is garbled within the Content-Disposition header within the part containing the file.
, Section 4.4 specifies:
Forms may request file inputs from the user; the form software may
include the file name and other file attributes, as specified in [RFC
The original local file name may be supplied as well, either as a
"filename" parameter either of the "content-disposition: form-data"
header or, in the case of multiple files, in a "content-disposition:
file" header of the subpart. The sending application MAY supply a
file name; if the file name of the sender's operating system is not
in US-ASCII, the file name might be approximated, or encoded using
the method of RFC 2231.
This is a convenience for those cases where the files supplied by the
form might contain references to each other, e.g., a TeX file and its
.sty auxiliary style description.
This does not seem to happen here. As a result, kendo Upload's behavior with international filenames seems undefined.
This problem was witnessed with kendo UI Web, v2013.3.1119.
Any known workarounds?